ci: base registry docker.io/library (no trailing slash)
All checks were successful
build / build (push) Successful in 43s

This commit is contained in:
kaezhou 2026-07-22 07:05:16 +00:00
parent 9962e902d1
commit 4e42ea531f

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.io/library/ \ 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"