Skip to content

Commit

Permalink
Update image build action
Browse files Browse the repository at this point in the history
  • Loading branch information
CannonLock committed Jul 15, 2024
1 parent dfac761 commit 1be8a71
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ jobs:
# New: apply the 'latest' tag to non-prerelease semver tags
tags: |
type=raw,value=sha-{{sha}}
type=raw,value=latest-itb
type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/v') && !contains(github.ref, '-')}}
type=raw,value=latest-itb,enable=${{ startsWith(github.ref, 'refs/tags/v') && contains(github.ref, '-')}}
type=raw,value=latest-,suffix={{date 'YYYYMMDDHHmmss'}},enable=${{ startsWith(github.ref, 'refs/tags/v') && !contains(github.ref, '-')}}
type=raw,value=latest-itb-,suffix={{date 'YYYYMMDDHHmmss'}},enable=${{ startsWith(github.ref, 'refs/tags/v') && contains(github.ref, '-')}}
type=ref,event=pr,suffix=-{{date 'YYYYMMDDHHmmss'}}
type=ref,event=branch,suffix=-{{date 'YYYYMMDDHHmmss'}}
type=ref,event=pr
type=ref,event=branch
type=semver,pattern={{version}}
type=semver,pattern={{version}}-{{date 'YYYYMMDDHHmmss'}}
flavor: |
latest=false
- name: Set up Docker BuildX
Expand Down

0 comments on commit 1be8a71

Please sign in to comment.