nixos-runner/.drone.yml

31 lines
566 B
YAML
Raw Normal View History

2023-04-15 14:42:13 -05:00
---
kind: secret
name: docker_username
get:
path: docker
name: username
---
kind: secret
name: docker_password
get:
path: docker
name: password
---
kind: pipeline
type: kubernetes
name: publish
steps:
- name: build
image: docker.io/jcollie/nixos-runner:latest
pull: always
commands:
- nix build .#nixos-runner
2023-04-15 15:00:08 -05:00
- nix run .#push-container -- result
2023-04-15 14:42:13 -05:00
settings:
registry: docker.io
repository: jcollie/nixos-runner
username:
from_secret: docker_username
password:
from_secret: docker_password