nixos-restic/.drone.yml
Jeffrey C. Ollie 20031e41f8
All checks were successful
continuous-integration/drone/push Build is passing
fix push command
2023-04-22 22:14:17 -05:00

31 lines
533 B
YAML

---
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
image: docker.io/jcollie/nixos-runner:latest
pull: always
commands:
- nix build .#docker
- push-container result
settings:
registry: r.ocj.io
repository: backup/restic
username:
from_secret: local_username
password:
from_secret: local_password