Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add descriptive tags to republished containers #33477

Merged
merged 2 commits into from
Jan 2, 2025
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
18 changes: 13 additions & 5 deletions .github/workflows/republish_released_docker_containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,17 @@ on:
RELEASE:
description: Beam version of current release (e.g. 2.XX.0)
required: true
default: ''
default: '2.61.0'
RC:
description: Integer RC version for the release (e.g. 3 for RC3)
required: true
default: ''
default: '3'
schedule:
- cron: "0 6 * * 1"
env:
docker_registry: gcr.io
release: ${{ github.event.inputs.RELEASE || "2.61.0" }}
rc: ${{ github.event.inputs.RC || "3" }}
release: "${{ github.event.inputs.RELEASE }}"
rc: "${{ github.event.inputs.RC}}"

jobs:

Expand Down Expand Up @@ -69,5 +69,13 @@ jobs:
run: |
gcloud auth configure-docker ${{ env.docker_registry }}
- name: Push docker images
run: ./gradlew :pushAllDockerImages -PisRelease -Pdocker-pull-licenses -Pprune-images -Pdocker-repository-root=gcr.io/apache-beam-testing/updated_released_container_images -Pdocker-tag=${{ env.release }}rc${{ env.rc }} --no-daemon --no-parallel
run: |
./gradlew :pushAllDockerImages \
-PisRelease \
-Pdocker-pull-licenses \
-Pprune-images \
-Pdocker-repository-root=gcr.io/apache-beam-testing/updated_released_container_images \
-Pdocker-tag-list=${{ env.release }},${{ github.sha }},$(date +'%Y-%m-%d') \
--no-daemon \
--no-parallel

Loading