瀏覽代碼

add before and after tags for demos (#276)

Bret Fisher 2 年之前
父節點
當前提交
07376881e7
共有 2 個文件被更改,包括 4 次插入0 次删除
  1. 2 0
      .github/workflows/call-docker-build-result.yaml
  2. 2 0
      .github/workflows/call-docker-build-vote.yaml

+ 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