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
|
- 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
|
||||||
|
|||||||
Reference in New Issue
Block a user