fix action for k8s deploy2
Some checks failed
Build NGINX on Ubuntu / build-nginx (push) Failing after 8m56s

This commit is contained in:
huangzhiqiang 2025-06-07 17:54:34 +08:00
parent e1c681bfe9
commit da6c1874a4

View File

@ -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