Преглед на файлове

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