rename docker image tag and add on tag push build condition to github action
Some checks are pending
/ build-docker (push) Waiting to run

This commit is contained in:
cuqmbr 2025-08-14 17:59:40 +03:00
parent 8f61726fce
commit 1adfac3553
Signed by: cuqmbr
GPG Key ID: 1F62396D020F375C

View File

@ -5,6 +5,8 @@ on:
branches: branches:
- main - main
- develop - develop
tags:
- '[0-9]+.[0-9]+.[0-9]+'
jobs: jobs:
build-docker: build-docker:
@ -42,5 +44,6 @@ jobs:
push: true push: true
# TODO: split tag names into multiple lines # TODO: split tag names into multiple lines
tags: | tags: |
${{env.registry}}/${{github.repository_owner}}/${{github.event.repository.name}}/${{github.ref_name}}:${{github.sha}} ${{env.registry}}/${{github.repository_owner}}/${{github.event.repository.name}}:${{github.sha}}
${{env.registry}}/${{github.repository_owner}}/${{github.event.repository.name}}/${{github.ref_name}}:latest ${{env.registry}}/${{github.repository_owner}}/${{github.event.repository.name}}:${{github.ref_name}}
${{env.registry}}/${{github.repository_owner}}/${{github.event.repository.name}}:latest