Skip to content

Commit

Permalink
Add descriptive tags to republished containers (#33477)
Browse files Browse the repository at this point in the history
* Add descriptive tags to republished containers

* Simplify defaults
  • Loading branch information
damccorm authored Jan 2, 2025
1 parent badbce0 commit f3972c7
Showing 1 changed file with 13 additions and 5 deletions.
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

0 comments on commit f3972c7

Please sign in to comment.