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
|
kind: secret
|
||||||
name: local_username
|
name: registry
|
||||||
get:
|
get:
|
||||||
path: local
|
path: docker-push
|
||||||
|
name: registry
|
||||||
|
---
|
||||||
|
kind: secret
|
||||||
|
name: username
|
||||||
|
get:
|
||||||
|
path: docker-push
|
||||||
name: username
|
name: username
|
||||||
---
|
---
|
||||||
kind: secret
|
kind: secret
|
||||||
name: local_password
|
name: password
|
||||||
get:
|
get:
|
||||||
path: local
|
path: docker-push
|
||||||
name: password
|
name: password
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
|
@ -22,9 +28,10 @@ steps:
|
||||||
- nix build .#docker
|
- nix build .#docker
|
||||||
- push-container result
|
- push-container result
|
||||||
settings:
|
settings:
|
||||||
registry: r.ocj.io
|
|
||||||
repository: backup/restic
|
repository: backup/restic
|
||||||
|
registry:
|
||||||
|
from_secret: registry
|
||||||
username:
|
username:
|
||||||
from_secret: local_username
|
from_secret: username
|
||||||
password:
|
password:
|
||||||
from_secret: local_password
|
from_secret: password
|
||||||
|
|
Loading…
Reference in a new issue