nixos-restic/.drone.yml

31 lines
533 B
YAML
Raw Normal View History

2023-04-22 18:38:58 -05:00
---
kind: secret
name: local_username
get:
path: local
name: username
---
kind: secret
name: local_password
get:
path: local
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:
registry: r.ocj.io
repository: backup/restic
username:
from_secret: local_username
password:
from_secret: local_password