From 8faa369836a83cd139d60ba7b47fedbdbd7d5ec1 Mon Sep 17 00:00:00 2001 From: Bret Fisher Date: Sun, 15 May 2022 14:44:03 -0400 Subject: [PATCH] don't overwrite tag rules by default --- templates/call-docker-build.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/call-docker-build.yaml b/templates/call-docker-build.yaml index a865ec5..22ea777 100644 --- a/templates/call-docker-build.yaml +++ b/templates/call-docker-build.yaml @@ -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 (.)