1
0
Эх сурвалжийг харах

Update build workflow to better handle pre-release tags

DarthSim 11 сар өмнө
parent
commit
ce2495ab05

+ 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}}