.github: fix condition for adding latest tag to buider job

This commit is contained in:
Anna Shaleva 2022-11-14 12:37:41 +03:00
parent 59741bbffc
commit eaa0d42b9c

View file

@ -106,7 +106,7 @@ jobs:
- name: Set latest tag - name: Set latest tag
id: setlatest id: setlatest
if: ${{ (github.event_name == 'release' && github.event.release.target_commitish == 'master') || (github.event_name == 'workflow_dispatch' && github.event.inputs.push_image == 'true' && github.event.inputs.use_latest_tag == 'true') }} if: ${{ (github.event_name == 'release' && github.event.release.target_commitish == 'master') || (github.event_name == 'workflow_dispatch' && github.event.inputs.use_latest_tag == 'true') }}
run: echo "latest=,${{ steps.setvars.outputs.repo }}:latest" >> $GITHUB_OUTPUT run: echo "latest=,${{ steps.setvars.outputs.repo }}:latest" >> $GITHUB_OUTPUT
- name: Build and push - name: Build and push