Skip to content

Commit

Permalink
try and fix the docker tag logic
Browse files Browse the repository at this point in the history
  • Loading branch information
gpmayorga authored Nov 8, 2023
1 parent 44012ad commit 2ce5707
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ jobs:
images: centrifugeio/centrifuge-chain
flavor: |
suffix=-${{ env.NOW }}
# latest=auto is already default, but the logic needs a value at the end and '' isn't valid
${{ matrix.target == 'test' && 'prefix=test-' || 'latest=auto' }}
prefix=${{ matrix.target == 'test' && 'test-' || '' }}
tags: |
type=ref,event=branch
type=ref,event=tag
Expand Down

0 comments on commit 2ce5707

Please sign in to comment.