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:
|
2024-09-07 21:19:05 -05:00
|
|
|
path: forgejo
|
2023-10-24 16:14:29 -05:00
|
|
|
name: registry
|
|
|
|
---
|
|
|
|
kind: secret
|
|
|
|
name: username
|
|
|
|
get:
|
2024-09-07 21:19:05 -05:00
|
|
|
path: forgejo
|
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:
|
2024-09-07 21:19:05 -05:00
|
|
|
path: forgejo
|
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-11-27 10:00:24 -06:00
|
|
|
- name: nixos
|
|
|
|
image: docker.io/jcollie/nixos-runner:latest
|
|
|
|
pull: always
|
|
|
|
commands:
|
2024-09-07 23:17:18 -05:00
|
|
|
- set
|
2023-11-27 10:00:24 -06:00
|
|
|
- nix build -L .#webserver
|
2024-09-07 23:17:18 -05:00
|
|
|
- push-container result --repository jeff/healthchecks-webserver
|
2023-11-27 10:00:24 -06:00
|
|
|
- nix build -L .#smtpd
|
2024-09-07 23:17:18 -05:00
|
|
|
- push-container result --repository jeff/healthchecks-smtpd
|
2023-11-27 10:00:24 -06:00
|
|
|
- nix build -L .#sendalerts
|
2024-09-07 23:17:18 -05:00
|
|
|
- push-container result --repository jeff/healthchecks-sendalerts
|
2023-11-27 10:00:24 -06:00
|
|
|
- nix build -L .#sendreports
|
2024-09-07 23:17:18 -05:00
|
|
|
- push-container result --repository jeff/healthchecks-sendreports
|
2023-11-27 10:00:24 -06:00
|
|
|
- nix build -L .#maintenance
|
2024-09-07 23:17:18 -05:00
|
|
|
- push-container result --repository jeff/healthchecks-maintenance
|
2023-11-27 10:00:24 -06:00
|
|
|
- nix build -L .#migrate
|
2024-09-07 23:17:18 -05:00
|
|
|
- push-container result --repository jeff/healthchecks-migrate
|
2023-11-27 10:00:24 -06:00
|
|
|
- nix build -L .#static
|
2024-09-07 23:17:18 -05:00
|
|
|
- push-container result --repository jeff/healthchecks-static
|
2023-11-27 10:00:24 -06:00
|
|
|
settings:
|
|
|
|
registry:
|
|
|
|
from_secret: registry
|
|
|
|
username:
|
|
|
|
from_secret: username
|
|
|
|
password:
|
|
|
|
from_secret: password
|