fix(ci): add version and sha tags
All checks were successful
CI Pipeline / Build and Push Docker Image (push) Successful in 2m32s
All checks were successful
CI Pipeline / Build and Push Docker Image (push) Successful in 2m32s
This commit is contained in:
@@ -4,6 +4,8 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
tags:
|
||||||
|
- 'v*'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
@@ -44,3 +46,5 @@ jobs:
|
|||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
${{ vars.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}:latest
|
${{ vars.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}:latest
|
||||||
|
${{ vars.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}
|
||||||
|
${{ vars.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.ref_name }}
|
||||||
|
|||||||
Reference in New Issue
Block a user