diff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.yml index 7b4425b5f2..b082bb25c9 100644 --- a/.github/workflows/build-docker.yml +++ b/.github/workflows/build-docker.yml @@ -39,8 +39,10 @@ jobs: with: images: centrifugeio/centrifuge-chain tags: | + # Release tags: type=semver,pattern={{raw}},prefix=${{ matrix.target == 'test' && 'test-' || '' }} - type=semver,value=latest,enable=${{ github.event_name == 'release' }} + type=raw,value=latest,enable=${{ github.event_name == 'release' }} + # Dev/Test tags: 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 type=ref,event=branch,prefix=${{ matrix.target == 'test' && 'test-' || '' }},suffix=-{{sha}}-${{ env.NOW }}