Keep Harbor credentials for chart and manifest publishing
Build and publish static assets / publish (push) Failing after 11m10s

This commit is contained in:
Ein Anderssono
2026-10-16 07:27:43 +02:00
parent 48a33d0fbb
commit 071acda493
-1
View File
@@ -115,7 +115,6 @@ jobs:
if [[ "$GITHUB_REF" == refs/tags/* ]]; then test "$GITHUB_REF_NAME" = "v$version"; else test "$AUTO_RELEASE_VERSION" = "$version"; fi if [[ "$GITHUB_REF" == refs/tags/* ]]; then test "$GITHUB_REF_NAME" = "v$version"; else test "$AUTO_RELEASE_VERSION" = "$version"; fi
python3 scripts/bump-version.py --check python3 scripts/bump-version.py --check
printf '%s' "$HARBOR_PASSWORD" | docker login harbor.k3s.k0.nu --username "$HARBOR_USERNAME" --password-stdin printf '%s' "$HARBOR_PASSWORD" | docker login harbor.k3s.k0.nu --username "$HARBOR_USERNAME" --password-stdin
unset HARBOR_PASSWORD
image="harbor.k3s.k0.nu/ai-spel/static:$version" image="harbor.k3s.k0.nu/ai-spel/static:$version"
docker build --platform linux/amd64 --pull --build-arg "STATIC_VERSION=$version" --tag "$image" . docker build --platform linux/amd64 --pull --build-arg "STATIC_VERSION=$version" --tag "$image" .
docker image push "$image" docker image push "$image"