Merge pull request #8414 from thalesmg/fix-docker-latest-elixir

fix(docker): avoid tagging elixir image as latest
This commit is contained in:
Zaiming (Stone) Shi 2022-07-05 15:51:44 +01:00 committed by GitHub
commit 1eaab050f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -323,4 +323,9 @@ jobs:
if: ${{ needs.prepare.outputs.IS_EXACT_TAG }}
working-directory: source
run: |
scripts/docker-create-push-manifests.sh "${{ steps.meta.outputs.tags }}" "${{ needs.prepare.outputs.IS_DOCKER_LATEST }}"
if [ ${{ matrix.build_elixir }} = 'with_elixir' ]; then
is_latest=false
else
is_latest="${{ needs.prepare.outputs.IS_DOCKER_LATEST }}"
fi
scripts/docker-create-push-manifests.sh "${{ steps.meta.outputs.tags }}" "$is_latest"