[ https://issues.apache.org/jira/browse/CASSANDRA-18931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17839227#comment-17839227 ]
Michael Semb Wever commented on CASSANDRA-18931: ------------------------------------------------ if we want to also push to our jfrog repository, it becomes… {code} cd .build image_name="apache/cassandra-almalinux-build:$(md5sum docker/almalinux-build.docker | cut -d' ' -f1)" docker buildx build --platform linux/amd64,linux/arm64 -t "${image_name}" -t "apache.jfrog.io/cassan-docker/${image_name}" -f docker/almalinux-build.docker --push . image_name="apache/cassandra-bullseye-build:$(md5sum docker/bullseye-build.docker | cut -d' ' -f1)" docker buildx build --platform linux/amd64,linux/arm64 -t "${image_name}" -t "apache.jfrog.io/cassan-docker/${image_name}" -f docker/bullseye-build.docker --push . image_name="apache/cassandra-centos7-build:$(md5sum docker/centos7-build.docker | cut -d' ' -f1)" docker buildx build --platform linux/amd64,linux/arm64 -t "${image_name}" -t "apache.jfrog.io/cassan-docker/${image_name}" -f docker/centos7-build.docker --push . image_name="apache/cassandra-ubuntu2004_test:$(md5sum docker/ubuntu2004_test.docker | cut -d' ' -f1)" docker buildx build --platform linux/amd64,linux/arm64 -t "${image_name}" -t "apache.jfrog.io/cassan-docker/${image_name}" -f docker/ubuntu2004_test.docker --push . {code} > ci job to build and push new in-tree docker images when dockerfile changes > -------------------------------------------------------------------------- > > Key: CASSANDRA-18931 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18931 > Project: Cassandra > Issue Type: Task > Components: CI > Reporter: Michael Semb Wever > Assignee: Michael Semb Wever > Priority: Normal > > The dockerfiles under .build/docker are now and are deployed by file md5sum. > (There is no "latest"). > in-tree scripts will have to build these images on-the-fly if they are not > available to pull from dockerhub. > Automatically building and pushing them to dockerhub whenever they change > will save a lot of resources and time in tests/CI. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org