fix: update tag pattern for Docker image versioning and correct GITHUB_REF_NAME reference
All checks were successful
Run Actions / build-and-push-image (push) Successful in 2s
Create and publish a Docker image for Linux / build-and-push-image (push) Successful in 32s

Signed-off-by: Stephen Simpson <ssimpson89@users.noreply.github.com>
This commit is contained in:
Stephen Simpson
2025-04-29 16:10:01 -07:00
parent 7c5b1d94c4
commit 140cfdbe62

View File

@@ -5,7 +5,7 @@ on:
- dev - dev
- master - master
tags: tags:
- 'v*.*' - '*.*.*'
workflow_dispatch: # Keep manual trigger for testing workflow_dispatch: # Keep manual trigger for testing
env: env:
@@ -42,7 +42,8 @@ jobs:
with: with:
images: ${{ env.REGISTRY }}/${{ vars.USERNAME }}/${{ env.IMAGE_NAME }} images: ${{ env.REGISTRY }}/${{ vars.USERNAME }}/${{ env.IMAGE_NAME }}
tags: | tags: |
type=semver,pattern={{gitea.ref_name}} type=semver,pattern={{ env.env.GITHUB_REF_NAME }}
type=semver,pattern=latest
type=raw,value=latest,enable={{is_default_branch}} type=raw,value=latest,enable={{is_default_branch}}
- name: Build and push both architectures - name: Build and push both architectures