removed the event line because it produced empty strings
This commit is contained in:
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@@ -56,12 +56,15 @@ jobs:
|
|||||||
gitea.calahilstudios.com/${{ github.repository }}
|
gitea.calahilstudios.com/${{ github.repository }}
|
||||||
${{ secrets.DOCKERHUB_USER }}/${{ github.repository }}
|
${{ secrets.DOCKERHUB_USER }}/${{ github.repository }}
|
||||||
tags: |
|
tags: |
|
||||||
type=ref,event=branch
|
# Always include short SHA
|
||||||
type=semver,pattern={{version}}
|
type=sha,format=short
|
||||||
type=semver,pattern={{major}}.{{minor}}
|
|
||||||
type=sha
|
# Include latest if on default branch (usually 'main' or 'develop')
|
||||||
type=raw,value=latest,enable={{is_default_branch}}
|
type=raw,value=latest,enable={{is_default_branch}}
|
||||||
|
|
||||||
|
# If this is a semver tag (vX.X.X), add full + minor version tags
|
||||||
|
type=semver,pattern={{version}}
|
||||||
|
type=semver,pattern={{major}}.{{minor}}
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user