ci: use explicit docker.io/library base registry
Some checks failed
build / build (push) Failing after 0s

This commit is contained in:
kaezhou 2026-07-22 07:02:07 +00:00
parent 2f2a19d982
commit 9962e902d1

View File

@ -17,7 +17,7 @@ jobs:
git clone "http://kaezhou:${{ secrets.REGISTRY_TOKEN }}@localhost:3000/kaezhou/iloom-flatten.git" "$workdir" git clone "http://kaezhou:${{ secrets.REGISTRY_TOKEN }}@localhost:3000/kaezhou/iloom-flatten.git" "$workdir"
cd "$workdir"; git checkout "${{ github.sha }}" cd "$workdir"; git checkout "${{ github.sha }}"
echo "${{ secrets.REGISTRY_TOKEN }}" | docker login localhost:3000 -u kaezhou --password-stdin echo "${{ secrets.REGISTRY_TOKEN }}" | docker login localhost:3000 -u kaezhou --password-stdin
docker build --build-arg BASE_REGISTRY= \ docker build --build-arg BASE_REGISTRY=docker.io/library/ \
-t "$REG/iloom-frontend:$TAG" -t "$REG/iloom-frontend:latest" . -t "$REG/iloom-frontend:$TAG" -t "$REG/iloom-frontend:latest" .
docker push "$REG/iloom-frontend:$TAG" docker push "$REG/iloom-frontend:$TAG"
docker push "$REG/iloom-frontend:latest" docker push "$REG/iloom-frontend:latest"