Skip to content

Commit

Permalink
fix dockertag pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
gpmayorga committed Sep 15, 2023
1 parent 3641a11 commit 5893b6b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,16 @@ jobs:
with:
images: centrifugeio/centrifuge-chain
flavor: |
prefix=${{ matrix.target == 'test' && 'test-' || '' }}
suffix=${{ env.NOW }}
"${{ matrix.target == 'test' && 'prefix=test' }}"
suffix="${{ env.NOW }}"
tags: |
type=schedule
type=ref,event=branch
type=ref,event=tag
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}
type=sha,format=short,prefix='git-'
type=raw,${{ env.NOW }}
type=edge
- name: Build and push centrifugeio/centrifuge-chain
uses: docker/build-push-action@v5
Expand Down

0 comments on commit 5893b6b

Please sign in to comment.