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:
|
||||
branches:
|
||||
- main
|
||||
tags:
|
||||
- 'v*'
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
@@ -44,3 +46,5 @@ jobs:
|
||||
push: true
|
||||
tags: |
|
||||
${{ 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