Jeffrey C. Ollie
b9d1389444
All checks were successful
continuous-integration/drone/push Build is passing
30 lines
566 B
YAML
30 lines
566 B
YAML
---
|
|
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
|
|
- nix run .#push-container -- result
|
|
settings:
|
|
registry: docker.io
|
|
repository: jcollie/nixos-runner
|
|
username:
|
|
from_secret: docker_username
|
|
password:
|
|
from_secret: docker_password
|