fix: don't update manifest if not an exact tag

This commit is contained in:
Shawn 2022-08-25 10:57:26 +08:00
parent d854ceb91a
commit edb2e7574f
1 changed files with 2 additions and 2 deletions

View File

@ -221,7 +221,7 @@ jobs:
docker-push-multi-arch-manifest:
# note, we only run on amd64
if: ${{ needs.prepare.outputs.IS_EXACT_TAG }}
if: needs.prepare.outputs.IS_EXACT_TAG == 'true'
needs:
- prepare
- docker
@ -324,7 +324,7 @@ jobs:
${{ steps.pre-meta.outputs.img_labels }}
- name: update manifest for multiarch image
if: ${{ needs.prepare.outputs.IS_EXACT_TAG }}
if: needs.prepare.outputs.IS_EXACT_TAG == 'true'
working-directory: source
run: |
if [ ${{ matrix.build_elixir }} = 'with_elixir' ]; then