This commit is contained in:
parent
f1d06f80f2
commit
d735f8960f
1 changed files with 14 additions and 7 deletions
21
.drone.yml
21
.drone.yml
|
@ -1,14 +1,20 @@
|
|||
---
|
||||
kind: secret
|
||||
name: local_username
|
||||
name: registry
|
||||
get:
|
||||
path: local
|
||||
path: docker-push
|
||||
name: registry
|
||||
---
|
||||
kind: secret
|
||||
name: username
|
||||
get:
|
||||
path: docker-push
|
||||
name: username
|
||||
---
|
||||
kind: secret
|
||||
name: local_password
|
||||
name: password
|
||||
get:
|
||||
path: local
|
||||
path: docker-push
|
||||
name: password
|
||||
---
|
||||
kind: pipeline
|
||||
|
@ -22,9 +28,10 @@ steps:
|
|||
- nix build .#docker
|
||||
- push-container result
|
||||
settings:
|
||||
registry: r.ocj.io
|
||||
repository: backup/restic
|
||||
registry:
|
||||
from_secret: registry
|
||||
username:
|
||||
from_secret: local_username
|
||||
from_secret: username
|
||||
password:
|
||||
from_secret: local_password
|
||||
from_secret: password
|
||||
|
|
Loading…
Reference in a new issue