2023-04-22 18:38:58 -05:00
|
|
|
---
|
|
|
|
kind: secret
|
2023-10-24 16:37:36 -05:00
|
|
|
name: registry
|
2023-04-22 18:38:58 -05:00
|
|
|
get:
|
2023-10-24 16:37:36 -05:00
|
|
|
path: docker-push
|
|
|
|
name: registry
|
|
|
|
---
|
|
|
|
kind: secret
|
|
|
|
name: username
|
|
|
|
get:
|
|
|
|
path: docker-push
|
2023-04-22 18:38:58 -05:00
|
|
|
name: username
|
|
|
|
---
|
|
|
|
kind: secret
|
2023-10-24 16:37:36 -05:00
|
|
|
name: password
|
2023-04-22 18:38:58 -05:00
|
|
|
get:
|
2023-10-24 16:37:36 -05:00
|
|
|
path: docker-push
|
2023-04-22 18:38:58 -05:00
|
|
|
name: password
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: kubernetes
|
|
|
|
name: publish
|
|
|
|
steps:
|
|
|
|
- name: build
|
2023-04-22 21:19:23 -05:00
|
|
|
image: docker.io/jcollie/nixos-runner:latest
|
2023-04-22 18:38:58 -05:00
|
|
|
pull: always
|
|
|
|
commands:
|
|
|
|
- nix build .#docker
|
2023-04-22 22:14:17 -05:00
|
|
|
- push-container result
|
2023-04-22 18:38:58 -05:00
|
|
|
settings:
|
|
|
|
repository: backup/restic
|
2023-10-24 16:37:36 -05:00
|
|
|
registry:
|
|
|
|
from_secret: registry
|
2023-04-22 18:38:58 -05:00
|
|
|
username:
|
2023-10-24 16:37:36 -05:00
|
|
|
from_secret: username
|
2023-04-22 18:38:58 -05:00
|
|
|
password:
|
2023-10-24 16:37:36 -05:00
|
|
|
from_secret: password
|