ci: add git-crypt unlock for server-config build-time secrets
Some checks failed
Build and Deploy / deploy (push) Failing after 15m15s
Some checks failed
Build and Deploy / deploy (push) Failing after 15m15s
This commit is contained in:
@@ -13,6 +13,10 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Unlock git-crypt
|
||||
run: |
|
||||
git-crypt unlock /run/agenix/git-crypt-key-server-config
|
||||
|
||||
- name: Build NixOS configuration
|
||||
run: |
|
||||
nix build .#nixosConfigurations.muffin.config.system.build.toplevel -L
|
||||
|
||||
@@ -144,6 +144,14 @@
|
||||
group = "gitea-runner";
|
||||
};
|
||||
|
||||
# Git-crypt symmetric key for server-config repo
|
||||
git-crypt-key-server-config = {
|
||||
file = ../secrets/git-crypt-key-server-config.age;
|
||||
mode = "0400";
|
||||
owner = "gitea-runner";
|
||||
group = "gitea-runner";
|
||||
};
|
||||
|
||||
# Gitea Actions runner registration token
|
||||
gitea-runner-token = {
|
||||
file = ../secrets/gitea-runner-token.age;
|
||||
|
||||
BIN
secrets/git-crypt-key-server-config.age
Normal file
BIN
secrets/git-crypt-key-server-config.age
Normal file
Binary file not shown.
Reference in New Issue
Block a user