diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..8fae4bd --- /dev/null +++ b/.drone.yml @@ -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 +... + diff --git a/docker-compose.yml b/docker-compose.yml index 0c5e045..a7b582f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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