docker-healthchecks/.drone.yml

49 lines
1.2 KiB
YAML
Raw Normal View History

2021-02-17 23:52:03 -06:00
---
kind: secret
2023-10-24 16:14:29 -05:00
name: registry
2021-02-17 23:52:03 -06:00
get:
2023-10-24 16:14:29 -05:00
path: docker-push
name: registry
---
kind: secret
name: username
get:
path: docker-push
2021-02-18 00:30:50 -06:00
name: username
---
kind: secret
2023-10-24 16:14:29 -05:00
name: password
2021-02-18 00:30:50 -06:00
get:
2023-10-24 16:14:29 -05:00
path: docker-push
2021-02-18 00:30:50 -06:00
name: password
2021-02-17 23:52:03 -06:00
---
kind: pipeline
type: kubernetes
name: build
steps:
2023-04-15 22:30:12 -05:00
- name: nixos
image: docker.io/jcollie/nixos-runner:latest
pull: always
commands:
2023-08-21 10:38:33 -05:00
- nix build -L .#webserver
2023-04-15 23:33:12 -05:00
- push-container result --repository network/healthchecks-webserver
2023-08-21 10:38:33 -05:00
- nix build -L .#smtpd
2023-04-15 23:33:12 -05:00
- push-container result --repository network/healthchecks-smtpd
2023-08-21 10:38:33 -05:00
- nix build -L .#sendalerts
2023-04-15 23:33:12 -05:00
- push-container result --repository network/healthchecks-sendalerts
2023-08-21 10:38:33 -05:00
- nix build -L .#sendreports
- push-container result --repository network/healthchecks-sendreports
2023-08-21 10:38:33 -05:00
- nix build -L .#maintenance
2023-04-15 23:33:12 -05:00
- push-container result --repository network/healthchecks-maintenance
2023-08-21 10:38:33 -05:00
- nix build -L .#migrate
2023-04-16 22:39:23 -05:00
- push-container result --repository network/healthchecks-migrate
2023-08-21 10:38:33 -05:00
- nix build -L .#static
2023-05-01 18:36:48 -05:00
- push-container result --repository network/healthchecks-static
2021-02-17 23:52:03 -06:00
settings:
2023-10-24 16:14:29 -05:00
registry:
from_secret: registry
2021-08-06 23:39:37 -05:00
username:
2023-10-24 16:14:29 -05:00
from_secret: username
2021-02-18 00:30:50 -06:00
password:
2023-10-24 16:14:29 -05:00
from_secret: password