squakez commented on code in PR #5253:
URL: https://github.com/apache/camel-k/pull/5253#discussion_r1526386217


##########
script/Makefile:
##########
@@ -456,6 +456,18 @@ images-all:
        make IMAGE_ARCH=arm64 images
        make IMAGE_ARCH=amd64 images
 
+images-push:
+       docker push $(CUSTOM_IMAGE):$(CUSTOM_VERSION)-amd64
+       docker push $(CUSTOM_IMAGE):$(CUSTOM_VERSION)
+       @if docker inspect $(CUSTOM_IMAGE):$(CUSTOM_VERSION)-arm64 &> 
/dev/null; then \
+               echo "Image $(CUSTOM_IMAGE):$(CUSTOM_VERSION)-arm64 exists, 
building the multiarch manifest"; \
+               docker push $(CUSTOM_IMAGE):$(CUSTOM_VERSION)-arm64; \
+               docker manifest create $(CUSTOM_IMAGE):$(CUSTOM_VERSION) 
--amend $(CUSTOM_IMAGE):$(CUSTOM_VERSION)-amd64 --amend 
$(CUSTOM_IMAGE):$(CUSTOM_VERSION)-arm64; \
+               docker manifest push --purge $(CUSTOM_IMAGE):$(CUSTOM_VERSION); 
\
+       else \
+               echo "Image $(CUSTOM_IMAGE):$(CUSTOM_VERSION)-arm64 does not 
exist"; \
+       fi
+
 images-push-staging:

Review Comment:
   We need to remove this, then.



-- 
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-unsubscr...@camel.apache.org

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

Reply via email to