You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ag...@apache.org on 2022/11/21 20:35:35 UTC

[arrow-ballista] branch master updated: only build docker images on rc tags (#535)

This is an automated email from the ASF dual-hosted git repository.

agrove pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-ballista.git


The following commit(s) were added to refs/heads/master by this push:
     new acbdf608 only build docker images on rc tags (#535)
acbdf608 is described below

commit acbdf608807697e72122a249c4bf7505274906d0
Author: Andy Grove <an...@gmail.com>
AuthorDate: Mon Nov 21 13:35:29 2022 -0700

    only build docker images on rc tags (#535)
---
 .github/workflows/rust.yml |  2 +-
 dev/release/README.md      | 13 +++++--------
 2 files changed, 6 insertions(+), 9 deletions(-)

diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index 38a9d806..f4fa6bc6 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -306,7 +306,7 @@ jobs:
           echo "github user is $DOCKER_USER"
           docker build -t arrow-ballista-standalone:latest -f dev/docker/ballista-standalone.Dockerfile .
           export DOCKER_TAG="$(git describe --exact-match --tags $(git log -n1 --pretty='%h') || echo '')"
-          if [[ $DOCKER_TAG =~ ^[0-9\.]+(-rc[0-9]+)?$ ]]
+          if [[ $DOCKER_TAG =~ ^[0-9\.]+-rc[0-9]+$ ]]
           then
             echo "publishing docker tag $DOCKER_TAG"
             docker tag arrow-ballista-standalone:latest ghcr.io/apache/arrow-ballista-standalone:$DOCKER_TAG 
diff --git a/dev/release/README.md b/dev/release/README.md
index aa3af8c0..b9154ebe 100644
--- a/dev/release/README.md
+++ b/dev/release/README.md
@@ -290,17 +290,14 @@ dot -Tsvg dev/release/crate-deps.dot > dev/release/crate-deps.svg
 
 ### Publish Docker Images
 
-We do not yet publish Docker images to the official Apache DockerHub account but there is an issue open for this
-([#236](https://github.com/apache/arrow-ballista/issues/236)).
+We release the Docker image that was voted on rather than build a new image. We do this by re-tagging the image.
 
-To build Docker images:
-
-```shell
-RELEASE_FLAG=release-lto ./dev/build-ballista-docker.sh
+```bash
+$ docker pull ghcr.io/apache/arrow-ballista-standalone:0.10.0-rc3
+$ docker tag ghcr.io/apache/arrow-ballista-standalone:0.10.0-rc3 ghcr.io/apache/arrow-ballista-standalone:0.10.0
+$ docker push ghcr.io/apache/arrow-ballista-standalone:0.10.0
 ```
 
-The Docker image is tagged as `apache/arrow-ballista:0.8.0`.
-
 ### Call the vote
 
 Call the vote on the Arrow dev list by replying to the RC voting thread. The