Ver código fonte

add before and after tags for demos (#276)

Bret Fisher 2 anos atrás
pai
commit
07376881e7

+ 2 - 0
.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

+ 2 - 0
.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