ci: use explicit docker.io/library base registry
Some checks failed
build / build (push) Failing after 0s
Some checks failed
build / build (push) Failing after 0s
This commit is contained in:
parent
2f2a19d982
commit
9962e902d1
@ -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"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user