fix: update tag pattern for Docker image versioning and correct GITHUB_REF_NAME reference
Signed-off-by: Stephen Simpson <ssimpson89@users.noreply.github.com>
This commit is contained in:
@@ -5,7 +5,7 @@ on:
|
||||
- dev
|
||||
- master
|
||||
tags:
|
||||
- 'v*.*'
|
||||
- '*.*.*'
|
||||
workflow_dispatch: # Keep manual trigger for testing
|
||||
|
||||
env:
|
||||
@@ -42,7 +42,8 @@ jobs:
|
||||
with:
|
||||
images: ${{ env.REGISTRY }}/${{ vars.USERNAME }}/${{ env.IMAGE_NAME }}
|
||||
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}}
|
||||
|
||||
- name: Build and push both architectures
|
||||
|
||||
Reference in New Issue
Block a user