Browse Source

Update build workflow to better handle pre-release tags

DarthSim 8 months ago
parent
commit
ce2495ab05
1 changed files with 1 additions and 1 deletions
  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}}