This is an automated email from the ASF dual-hosted git repository. dongjoon pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/spark-kubernetes-operator.git
The following commit(s) were added to refs/heads/main by this push: new 562b1d3 [SPARK-52003] Improve `publish_snapshot_dockerhub` GitHub Action job to support branches 562b1d3 is described below commit 562b1d3bfc179cd2ea22431a6d6f3a93645bc30a Author: Dongjoon Hyun <dongj...@apache.org> AuthorDate: Sun May 4 14:24:09 2025 -0700 [SPARK-52003] Improve `publish_snapshot_dockerhub` GitHub Action job to support branches ### What changes were proposed in this pull request? This PR aims to improve `publish_snapshot_dockerhub` GitHub Action job to support branches. ### Why are the changes needed? Previously, the job supports only `main` branch. After this PR, `branch-0.1` is added to the matrix. However, this PR should land at only `main` branch because GitHub Action supports the schedule job only at `main` branch. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Manual review. This should be tested after merging. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #183 from dongjoon-hyun/SPARK-52003. Authored-by: Dongjoon Hyun <dongj...@apache.org> Signed-off-by: Dongjoon Hyun <dongj...@apache.org> --- .github/workflows/publish_snapshot_dockerhub.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish_snapshot_dockerhub.yml b/.github/workflows/publish_snapshot_dockerhub.yml index 520fc44..d301f3c 100644 --- a/.github/workflows/publish_snapshot_dockerhub.yml +++ b/.github/workflows/publish_snapshot_dockerhub.yml @@ -10,7 +10,7 @@ on: description: 'list of branches to publish (JSON)' required: true # keep in sync with default value of strategy matrix 'branch' - default: '["main"]' + default: '["main", "branch-0.1"]' jobs: publish-snapshot-image: @@ -20,7 +20,7 @@ jobs: fail-fast: false matrix: # keep in sync with default value of workflow_dispatch input 'branch' - branch: ${{ fromJSON( inputs.branch || '["main"]' ) }} + branch: ${{ fromJSON( inputs.branch || '["main", "branch-0.1"]' ) }} steps: - name: Set up QEMU uses: docker/setup-qemu-action@v3 @@ -45,4 +45,4 @@ jobs: file: build-tools/docker/Dockerfile platforms: linux/amd64,linux/arm64 push: true - tags: apache/spark-kubernetes-operator:main-snapshot + tags: apache/spark-kubernetes-operator:${{ matrix.branch }}-snapshot --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org