Update call-docker-build.yaml

This commit is contained in:
Bret Fisher
2022-05-15 14:43:20 -04:00
committed by GitHub
parent 01f51d8b54
commit d03546a90d

View File

@@ -52,14 +52,15 @@ jobs:
image-names: | image-names: |
ghcr.io/${{ github.repository }} ghcr.io/${{ github.repository }}
### REQUIRED set rules for tagging images, based on special action syntax: ### set rules for tagging images, based on special action syntax:
### https://github.com/docker/metadata-action#tags-input ### https://github.com/docker/metadata-action#tags-input
### defaults to: ### defaults to:
tag-rules: | tag-rules: |
type=raw,value=latest,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }} 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=pr
type=ref,event=branch type=ref,event=branch
type=semver,pattern={{version}} type=raw,value=gha-${{ github.run_id }}
### path to where docker should copy files into image ### path to where docker should copy files into image
### defaults to root of repository (.) ### defaults to root of repository (.)