fix(ci): add version and sha tags
All checks were successful
CI Pipeline / Build and Push Docker Image (push) Successful in 2m32s

This commit is contained in:
Aleksandr Tcitlionok
2024-12-11 11:14:57 +00:00
parent f16a7cd995
commit ca4784dd45

View File

@@ -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 }}