Create temporary Helm registry credentials file
Build and publish frontend / publish (push) Successful in 32s

This commit is contained in:
Ein Anderssono
2026-10-14 09:50:18 +02:00
parent 01cbc4f759
commit 305a568899
+1
View File
@@ -125,6 +125,7 @@ jobs:
helm package deploy/helm/ai-spel-frontend --destination "$publish_dir" \ helm package deploy/helm/ai-spel-frontend --destination "$publish_dir" \
--version "$version" --app-version "$version" --version "$version" --app-version "$version"
registry_config="$RUNNER_TEMP/helm/registry.json" registry_config="$RUNNER_TEMP/helm/registry.json"
mkdir -p "$(dirname "$registry_config")"
printf '{}' > "$registry_config" printf '{}' > "$registry_config"
printf '%s' "$HARBOR_PASSWORD" | helm registry login harbor.k3s.k0.nu \ printf '%s' "$HARBOR_PASSWORD" | helm registry login harbor.k3s.k0.nu \
--username "$HARBOR_USERNAME" --password-stdin \ --username "$HARBOR_USERNAME" --password-stdin \