Compare commits

..

2 Commits

Author SHA1 Message Date
julian b4c92b3dfc deploy: switch HARBOR env vars to REGISTRY
Build and Deploy / deploy (push) Failing after 3s
2026-06-04 12:03:02 +02:00
julian 872170ecaf ci: enable nix flakes experimental feature 2026-06-04 12:02:03 +02:00
2 changed files with 5 additions and 3 deletions
+2
View File
@@ -7,6 +7,8 @@ on:
jobs:
deploy:
runs-on: nixos
env:
NIX_CONFIG: "experimental-features = nix-command flakes"
steps:
- name: Checkout repository
uses: actions/checkout@v4
+3 -3
View File
@@ -23,10 +23,10 @@
# 2. Authenticate if CI environment variables are present
if [ -n "''${REGISTRY_USERNAME:-}" ] && [ -n "''${REGISTRY_PASSWORD:-}" ]; then
echo "CI Environment detected: Logging in to Harbor."
echo "CI Environment detected: Logging in to registry."
${pkgs.skopeo}/bin/skopeo login gitlab.julian-mutter.de \
--username "''${HARBOR_USERNAME}" \
--password "''${HARBOR_PASSWORD}"
--username "''${REGISTRY_USERNAME}" \
--password "''${REGISTRY_PASSWORD}"
else
echo "Local Environment detected: Skipping login, relying on existing auth."
fi