Compare commits

...

4 Commits

Author SHA1 Message Date
93bffbcb66 Add service dependency 2025-03-29 17:28:03 +01:00
e4f7152ec3 Add example compose.yaml file 2025-03-29 17:27:43 +01:00
7ee0660092 Add .gitignore and .dockerignore files 2025-03-29 17:23:04 +01:00
73f0b654a2 Disable secret names normalization feature 2025-03-29 17:19:51 +01:00
5 changed files with 33 additions and 0 deletions

5
.dockerignore Normal file
View File

@@ -0,0 +1,5 @@
.idea/
data/
secrets/
compose.override.yaml
.git/

4
.gitignore vendored Normal file
View File

@@ -0,0 +1,4 @@
.idea/
data/
secrets/
compose.override.yaml

View File

@@ -13,6 +13,11 @@ COPY ["./rootfs", "/"]
FROM knatnetwork/github-runner-kms:latest
RUN set -eux \
&& apk add --no-cache bash
COPY --from=rootfs ["/", "/"]
ENV NORMALIZE_SECRET_NAMES=0
ENTRYPOINT ["/init"]

19
compose.yaml Normal file
View File

@@ -0,0 +1,19 @@
secrets:
PAT_N0rthernL1ghts:
file: ./secrets/PAT_N0rthernL1ghts.txt
networks:
default:
services:
kms:
image: xcr.se/n0rthernl1ghts/gha-runner-kms:latest
hostname: vm-vulcan-ghr-prod-01-kms.router0.net
deploy:
replicas: 1
restart_policy:
condition: any
secrets:
- PAT_N0rthernL1ghts
networks:
default: