Skip to content

Commit 857aae7

Browse files
authored
add before and after tags for demos (dockersamples#276)
1 parent d77c8e6 commit 857aae7

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/call-docker-build-result.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ jobs:
5959
### defaults to:
6060
tag-rules: |
6161
type=raw,value=latest,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }}
62+
type=raw,value=before,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }}
63+
type=raw,value=after,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }}
6264
type=ref,event=pr
6365
6466
### path to where docker should copy files into image

.github/workflows/call-docker-build-vote.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ jobs:
5959
### defaults to:
6060
tag-rules: |
6161
type=raw,value=latest,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }}
62+
type=raw,value=before,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }}
63+
type=raw,value=after,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }}
6264
type=ref,event=pr
6365
6466
### path to where docker should copy files into image

0 commit comments

Comments
 (0)