Skip to content

Commit

Permalink
assume prefix adds a - except for raw formt
Browse files Browse the repository at this point in the history
  • Loading branch information
gpmayorga committed Nov 24, 2023
1 parent 25dde97 commit ac3a7b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ jobs:
images: centrifugeio/centrifuge-chain
tags: |
type=raw,event=branch,value=${{ matrix.target == 'test' && 'test-' || '' }}{{branch}}-{{sha}}-${{ env.NOW }}
type=semver,pattern={{raw}},prefix=${{ matrix.target == 'test' && 'test-' || 'latest=auto' }}
type=semver,pattern={{major}},prefix=${{ matrix.target == 'test' && 'test-' || '' }}
type=edge,suffix=-${{ env.NOW }},prefix=${{ matrix.target == 'test' && 'test-' || '' }},condition=${{ !startsWith(github.ref, 'refs/heads/') }}
type=semver,pattern={{raw}},prefix=${{ matrix.target == 'test' && 'test' || 'latest=auto' }}
type=semver,pattern={{major}},prefix=${{ matrix.target == 'test' && 'test' || '' }}
type=edge,suffix=-${{ env.NOW }},prefix=${{ matrix.target == 'test' && 'test' || '' }},condition=${{ !startsWith(github.ref, 'refs/heads/') }}
- name: Configure GHA cache
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea #v6
Expand Down

0 comments on commit ac3a7b4

Please sign in to comment.