ksobrenat32 commented on code in PR #36298:
URL: https://github.com/apache/beam/pull/36298#discussion_r2383253740
##########
.github/workflows/beam_Publish_Docker_Snapshots.yml:
##########
@@ -70,6 +70,13 @@ jobs:
github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }})
- name: Setup environment
uses: ./.github/actions/setup-environment-action
+ - name: Set docker_tag_list
+ run: |
+ if [[ "${{ github.ref }}" == "refs/heads/master" ]]; then
+ echo "DOCKER_TAG_LIST=${{ github.sha }},latest" >> $GITHUB_ENV
+ else
+ echo "DOCKER_TAG_LIST=${{ github.sha }}" >> $GITHUB_ENV
+ fi
Review Comment:
Done :)
Now all the images are tagged with the sha by default but latest just when
working on main
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]