deploy: switch HARBOR env vars to REGISTRY
Build and Deploy / deploy (push) Failing after 3s

This commit is contained in:
2026-06-04 12:03:02 +02:00
parent 872170ecaf
commit b4c92b3dfc
+3 -3
View File
@@ -23,10 +23,10 @@
# 2. Authenticate if CI environment variables are present # 2. Authenticate if CI environment variables are present
if [ -n "''${REGISTRY_USERNAME:-}" ] && [ -n "''${REGISTRY_PASSWORD:-}" ]; then 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 \ ${pkgs.skopeo}/bin/skopeo login gitlab.julian-mutter.de \
--username "''${HARBOR_USERNAME}" \ --username "''${REGISTRY_USERNAME}" \
--password "''${HARBOR_PASSWORD}" --password "''${REGISTRY_PASSWORD}"
else else
echo "Local Environment detected: Skipping login, relying on existing auth." echo "Local Environment detected: Skipping login, relying on existing auth."
fi fi