don't overwrite tag rules by default

This commit is contained in:
Bret Fisher
2022-05-15 14:44:03 -04:00
committed by GitHub
parent d03546a90d
commit 8faa369836

View File

@@ -55,12 +55,12 @@ jobs:
### set rules for tagging images, based on special action syntax:
### https://github.com/docker/metadata-action#tags-input
### defaults to:
tag-rules: |
type=raw,value=latest,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }}
type=raw,value=stable-{{date 'YYYYMMDDHHmmss'}},enable=${{ endsWith(github.ref, github.event.repository.default_branch) }}
type=ref,event=pr
type=ref,event=branch
type=raw,value=gha-${{ github.run_id }}
#tag-rules: |
# type=raw,value=latest,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }}
# type=raw,value=stable-{{date 'YYYYMMDDHHmmss'}},enable=${{ endsWith(github.ref, github.event.repository.default_branch) }}
# type=ref,event=pr
# type=ref,event=branch
# type=raw,value=gha-${{ github.run_id }}
### path to where docker should copy files into image
### defaults to root of repository (.)