update
This commit is contained in:
parent
720cc0071b
commit
0e07f409c1
1 changed files with 14 additions and 13 deletions
27
.drone.yml
27
.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
|
||||
|
@ -34,14 +40,9 @@ steps:
|
|||
- nix build -L .#static
|
||||
- push-container result --repository network/healthchecks-static
|
||||
settings:
|
||||
registry: r.ocj.io
|
||||
registry:
|
||||
from_secret: registry
|
||||
username:
|
||||
from_secret: local_username
|
||||
from_secret: username
|
||||
password:
|
||||
from_secret: local_password
|
||||
- name: notify
|
||||
image: plugins/webhook
|
||||
failure: ignore
|
||||
settings:
|
||||
urls:
|
||||
- http://webhook-receiver.flux-system.svc/hook/edb4b3e16a177e035bc595a5be33c3b04b51145c7d802bddf05f27486e1dbd4d
|
||||
from_secret: password
|
||||
|
|
Loading…
Reference in a new issue