From 07376881e7e58c8aadad5600f5fe8e497441b835 Mon Sep 17 00:00:00 2001 From: Bret Fisher Date: Fri, 16 Dec 2022 22:23:45 -0500 Subject: [PATCH] add before and after tags for demos (#276) --- .github/workflows/call-docker-build-result.yaml | 2 ++ .github/workflows/call-docker-build-vote.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/call-docker-build-result.yaml b/.github/workflows/call-docker-build-result.yaml index 8c6d8e5..a946a87 100644 --- a/.github/workflows/call-docker-build-result.yaml +++ b/.github/workflows/call-docker-build-result.yaml @@ -59,6 +59,8 @@ jobs: ### defaults to: tag-rules: | type=raw,value=latest,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }} + type=raw,value=before,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }} + type=raw,value=after,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }} type=ref,event=pr ### path to where docker should copy files into image diff --git a/.github/workflows/call-docker-build-vote.yaml b/.github/workflows/call-docker-build-vote.yaml index 678d0cc..cb4a484 100644 --- a/.github/workflows/call-docker-build-vote.yaml +++ b/.github/workflows/call-docker-build-vote.yaml @@ -59,6 +59,8 @@ jobs: ### defaults to: tag-rules: | type=raw,value=latest,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }} + type=raw,value=before,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }} + type=raw,value=after,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }} type=ref,event=pr ### path to where docker should copy files into image