fix action for k8s deploy2
Some checks failed
Build NGINX on Ubuntu / build-nginx (push) Failing after 8m56s
Some checks failed
Build NGINX on Ubuntu / build-nginx (push) Failing after 8m56s
This commit is contained in:
parent
e1c681bfe9
commit
da6c1874a4
@ -166,7 +166,8 @@ jobs:
|
||||
docker tag nginx-local:latest ${{ secrets.HARBOR_REGISTRY }}/test/nginx:latest
|
||||
|
||||
echo "推送镜像..."
|
||||
docker push ${{ secrets.HARBOR_REGISTRY }}/test/nginx:${{ github.sha }} docker push ${{ secrets.HARBOR_REGISTRY }}/test/nginx:latest
|
||||
docker push ${{ secrets.HARBOR_REGISTRY }}/test/nginx:${{ github.sha }}
|
||||
docker push ${{ secrets.HARBOR_REGISTRY }}/test/nginx:latest
|
||||
|
||||
echo "清理本地镜像..."
|
||||
docker rmi nginx-local:latest || true
|
||||
|
Loading…
x
Reference in New Issue
Block a user