You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "zymap (via GitHub)" <gi...@apache.org> on 2023/03/27 09:32:18 UTC

[GitHub] [pulsar] zymap commented on a diff in pull request #19432: [improve] Allow to build and push multi-arch Docker images

zymap commented on code in PR #19432:
URL: https://github.com/apache/pulsar/pull/19432#discussion_r1149045661


##########
docker/pulsar-all/pom.xml:
##########
@@ -139,6 +135,7 @@
                 <goals>
                   <goal>build</goal>
                   <goal>tag</goal>
+                  <goal>push</goal>

Review Comment:
   I think this is the reason why we need the push goal:
   
   >Buildx is enabled when there is a non-empty <platform> element inside the <buildx> configuration. Only the native platform is built and saved in the local image cache by the build goal. All specified platforms are built and pushed into the remote repository by the push goal. This behavior is to prevent non-native images from tainting the local image cache.
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org