Explorar o código

Update build workflow to better handle pre-release tags

DarthSim hai 11 meses
pai
achega
ce2495ab05
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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}}