This commit is contained in:
parent
c37a733313
commit
cd5b05eede
31
.drone.yml
Normal file
31
.drone.yml
Normal file
@ -0,0 +1,31 @@
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: tag (${DRONE_TAG})
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry: auth.registry.steph.tools
|
||||
username: drone
|
||||
password:
|
||||
from_secret: REGISTRY_PASS
|
||||
repo: auth.registry.steph.tools/steph/duplicity-backup
|
||||
auto_tag: true
|
||||
- name: tag (latest)
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry: auth.registry.steph.tools
|
||||
username: drone
|
||||
password:
|
||||
from_secret: REGISTRY_PASS
|
||||
repo: auth.registry.steph.tools/steph/duplicity-backup
|
||||
tags:
|
||||
- latest
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- tag
|
||||
...
|
||||
|
@ -2,7 +2,7 @@ version: '3'
|
||||
|
||||
services:
|
||||
backup:
|
||||
build: .
|
||||
image: registry.steph.tools/steph/duplicity-backup
|
||||
volumes:
|
||||
- /services:/services
|
||||
- ./mnt/duplicity/.cache:/home/duplicity/.cache
|
||||
|
Loading…
Reference in New Issue
Block a user