docker-radarr/.drone.yml

47 lines
845 B
YAML
Raw Permalink Normal View History

2022-05-27 20:43:00 -05:00
---
kind: secret
name: local_username
get:
path: local
name: username
---
kind: secret
name: local_password
get:
path: local
name: password
---
2023-05-28 13:46:02 -05:00
kind: secret
name: attic_url
get:
path: attic
name: url
---
kind: secret
name: attic_key
get:
path: attic
name: key
---
2022-05-27 20:43:00 -05:00
kind: pipeline
type: kubernetes
name: publish
steps:
2023-05-28 13:46:02 -05:00
- name: nixos
image: docker.io/jcollie/nixos-runner:latest
2022-05-27 20:43:00 -05:00
pull: always
commands:
2023-05-28 13:46:02 -05:00
- nix --extra-substituters $PLUGIN_ATTIC_URL --extra-trusted-public-keys $PLUGIN_ATTIC_KEY build -L .#default
2023-05-28 13:49:09 -05:00
- push-container result
2023-05-28 13:46:50 -05:00
settings:
2023-05-28 13:49:09 -05:00
registry: r.ocj.io
repository: media/radarr
2022-05-27 20:43:00 -05:00
username:
from_secret: local_username
password:
from_secret: local_password
2023-05-28 13:46:02 -05:00
attic_url:
from_secret: attic_url
attic_key:
from_secret: attic_key