👷 We now have images!
All checks were successful
continuous-integration/drone/tag Build is passing

This commit is contained in:
Steph 2021-02-08 16:58:14 +01:00
parent c37a733313
commit cd5b05eede
2 changed files with 32 additions and 1 deletions

31
.drone.yml Normal file
View 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
...

View File

@ -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