From 79a97a9a33cfa00d8d6326603032008f4346e5b4 Mon Sep 17 00:00:00 2001 From: Zixuan Liu Date: Thu, 10 Nov 2022 17:43:00 +0800 Subject: [PATCH] [improve][build] Avoid building image multiple times (#17208) Signed-off-by: Zixuan Liu --- docker/pulsar-all/pom.xml | 44 +++------------------------------------ docker/pulsar/pom.xml | 44 +++------------------------------------ 2 files changed, 6 insertions(+), 82 deletions(-) diff --git a/docker/pulsar-all/pom.xml b/docker/pulsar-all/pom.xml index 6d8c656f1dd41..8c7174c04c286 100644 --- a/docker/pulsar-all/pom.xml +++ b/docker/pulsar-all/pom.xml @@ -138,46 +138,7 @@ package build - - - - - ${docker.organization}/pulsar-all - - ${project.basedir} - - latest - ${project.version} - - - - - - - - push-latest - - push - - - - - ${docker.organization}/pulsar-all - - ${project.basedir} - - latest - - - - - - - - add-no-repo - package - - build + tag @@ -187,11 +148,12 @@ ${project.basedir} latest - ${project.version} + latest + ${docker.organization} diff --git a/docker/pulsar/pom.xml b/docker/pulsar/pom.xml index f7d91b2120841..c620f591d223b 100644 --- a/docker/pulsar/pom.xml +++ b/docker/pulsar/pom.xml @@ -66,46 +66,7 @@ package build - - - - - ${docker.organization}/pulsar - - ${project.basedir} - - latest - ${project.version} - - - - - - - - push-latest - - push - - - - - ${docker.organization}/pulsar - - ${project.basedir} - - latest - - - - - - - - add-no-repo - package - - build + tag @@ -115,11 +76,12 @@ ${project.basedir} latest - ${project.version} + latest + ${docker.organization}