瀏覽代碼

test: change prefix for docker tags

Christian Winther 1 年之前
父節點
當前提交
043f914c8c
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      .github/workflows/docker.yml

+ 2 - 2
.github/workflows/docker.yml

@@ -168,8 +168,8 @@ jobs:
             type=raw,value=staging,enable=${{ github.ref == format('refs/heads/{0}', 'staging') }}
             type=raw,value=staging,enable=${{ github.ref == format('refs/heads/{0}', 'staging') }}
             type=pep440,pattern={{raw}}
             type=pep440,pattern={{raw}}
             type=pep440,pattern=v{{major}}.{{minor}}
             type=pep440,pattern=v{{major}}.{{minor}}
-            type=ref,event=branch,prefix=branch-
-            type=ref,event=pr,prefix=pr-
+            type=ref,event=branch,prefix=branch/
+            type=ref,event=pr,prefix=pr/
             type=ref,event=tag
             type=ref,event=tag
         env:
         env:
           DOCKER_METADATA_ANNOTATIONS_LEVELS: manifest,index
           DOCKER_METADATA_ANNOTATIONS_LEVELS: manifest,index