Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions .github/workflows/docker_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ name: Build and Push Docker Image
on:
push:
branches:
- main
- branch-1.5
paths:
- '.github/workflows/docker_image.yml'
- '.github/workflows/util/install_spark_resources.sh'
Expand All @@ -28,8 +28,6 @@ on:
- 'dev/docker/Dockerfile.centos8-dynamic-build'
- 'dev/docker/Dockerfile.centos9-dynamic-build'
- 'dev/docker/cudf/Dockerfile'
schedule:
- cron: '0 20 * * 0'

env:
DOCKERHUB_REPO: apache/gluten
Expand Down Expand Up @@ -58,7 +56,7 @@ jobs:
context: .
file: dev/docker/Dockerfile.centos7-static-build
push: true
tags: ${{ env.DOCKERHUB_REPO }}:vcpkg-centos-7
tags: ${{ env.DOCKERHUB_REPO }}:1.5-vcpkg-centos-7

build-centos-9-jdk8-cudf:
if: ${{ startsWith(github.repository, 'apache/') }}
Expand Down Expand Up @@ -89,7 +87,7 @@ jobs:
context: .
file: dev/docker/cudf/Dockerfile
push: true
tags: ${{ env.DOCKERHUB_REPO }}:centos-9-jdk8-cudf
tags: ${{ env.DOCKERHUB_REPO }}:1.5-centos-9-jdk8-cudf

build-vcpkg-centos-8:
if: ${{ startsWith(github.repository, 'apache/') }}
Expand Down Expand Up @@ -322,7 +320,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
digests: [ vcpkg-centos-8, vcpkg-centos-9, centos-8-jdk8, centos-8-jdk11, centos-8-jdk17, centos-9-jdk8, centos-9-jdk11, centos-9-jdk17 ]
digests: [ vcpkg-centos-8, centos-8-jdk8, centos-8-jdk17 ]
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We only push these three images, together with 1.5-vcpkg-centos-7 and 1.5-centos-9-jdk8-cudf, to docker hub. They are required to help verify PR target for branch 1.5.

needs:
- build-vcpkg-centos-8
- build-vcpkg-centos-9
Expand Down Expand Up @@ -350,7 +348,7 @@ jobs:
uses: docker/metadata-action@v5
with:
images: ${{ env.DOCKERHUB_REPO }}
tags: ${{ matrix.digests }}
tags: 1.5-${{ matrix.digests }}

- name: Create manifest list and push
working-directory: ${{ runner.temp }}/digests
Expand Down