Browse Source

Update build workflow to better handle pre-release tags

DarthSim 11 tháng trước cách đây
mục cha
commit
ce2495ab05
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      .github/workflows/build.yml

+ 1 - 1
.github/workflows/build.yml

@@ -9,7 +9,7 @@ env:
   DOCKER_META_TAGS: |
     type=raw,value=latest,enable=${{ github.ref == 'refs/heads/master' }}
     type=ref,event=branch,enable=${{ startsWith(github.ref, 'refs/heads/test/') }}
-    type=semver,pattern=v{{version}}
+    type=ref,event=tag
     type=semver,pattern=v{{major}}.{{minor}}
     type=semver,pattern=v{{major}}