From 952733f81b586e08b4861cd718e9781913c4dde0 Mon Sep 17 00:00:00 2001 From: Le-Zheng <30695225+Le-Zheng@users.noreply.github.com> Date: Thu, 19 Jan 2023 11:50:04 +0800 Subject: [PATCH] docker default name and version (#7325) --- .github/workflows/bigdl-release-docker.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/bigdl-release-docker.yml b/.github/workflows/bigdl-release-docker.yml index 7d778816b77..146e9f41c77 100644 --- a/.github/workflows/bigdl-release-docker.yml +++ b/.github/workflows/bigdl-release-docker.yml @@ -47,7 +47,9 @@ jobs: --build-arg no_proxy=${NO_PROXY} \ --rm --no-cache -t $IMAGE-spark-3.1.3:${TAG} . docker push ${IMAGE}-spark-3.1.3:${TAG} - docker tag ${IMAGE}-spark-3.1.3:${TAG} 10.239.45.10/arda/${IMAGE}-spark-3.1.3:${TAG} + docker tag ${IMAGE}-spark-3.1.3:${TAG} ${IMAGE}:${TAG} + docker push ${IMAGE}:${TAG} + docker tag ${IMAGE}:${TAG} 10.239.45.10/arda/${IMAGE}-spark-3.1.3:${TAG} docker push 10.239.45.10/arda/${IMAGE}-spark-3.1.3:${TAG} docker rmi -f ${IMAGE}-spark-3.1.3:${TAG} 10.239.45.10/arda/${IMAGE}-spark-3.1.3:${TAG} - name: docker deploy bigdl-k8s