You've already forked fedora-toolbox
forked from davejansen/fedora-bootc
Ensure the correct tags are set with new builds
This commit is contained in:
@@ -73,10 +73,10 @@ jobs:
|
||||
with:
|
||||
# This generates all the tags for your image, you can add custom tags here too!
|
||||
tags: |
|
||||
type=sha
|
||||
type=raw,value=latest,enable=${{ github.event_name != 'pull_request' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
|
||||
type=raw,value=${{ env.FEDORA_BASE }},enable=${{ github.event_name != 'pull_request' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
|
||||
type=raw,value=${{ env.FEDORA_BASE }}-{{date 'YYYYMMDD'}},enable=${{ github.event_name != 'pull_request' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
|
||||
type=sha,enable=${{ github.event_name == 'pull_request' }}
|
||||
type=raw,value=latest
|
||||
type=raw,value=${{ env.FEDORA_BASE }}
|
||||
type=raw,value=${{ env.FEDORA_BASE }}-{{date 'YYYYMMDD'}}
|
||||
type=ref,event=pr
|
||||
labels: |
|
||||
io.artifacthub.package.readme-url=${{ env.README_URL }}
|
||||
|
||||
Reference in New Issue
Block a user