From 6e1e81c23ff691051f99d1263b5a055380448fd5 Mon Sep 17 00:00:00 2001 From: Guillermo Perez Date: Wed, 29 Nov 2023 14:13:53 +0100 Subject: [PATCH] make the latest tag implicit --- .github/workflows/build-docker.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.yml index a36746fb7a..77331d6fa4 100644 --- a/.github/workflows/build-docker.yml +++ b/.github/workflows/build-docker.yml @@ -40,6 +40,7 @@ jobs: images: centrifugeio/centrifuge-chain tags: | type=semver,pattern={{raw}},prefix=${{ matrix.target == 'test' && 'test-' || '' }} + type=semver,value=latest,enable=${{ github.event_name == 'release' }} type=edge,event=pr,suffix=-{{sha}}-${{ env.NOW }},prefix=${{ matrix.target == 'test' && 'test-' || '' }} type=ref,event=tag,suffix=-{{sha}}-${{ env.NOW }},prefix=${{ matrix.target == 'test' && 'test-' || '' }} type=ref,event=pr,suffix=-{{sha}}-${{ env.NOW }},prefix=${{ matrix.target == 'test' && 'test-' || '' }}PR