add before and after tags for demos (#276)

This commit is contained in:
Bret Fisher
2022-12-16 22:23:45 -05:00
committed by GitHub
parent c76fbd6494
commit 07376881e7
2 changed files with 4 additions and 0 deletions

View File

@@ -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

View File

@@ -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