build: use branch name for docker tag
This commit is contained in:
@ -30,5 +30,5 @@ jobs:
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
tags: ${{ vars.registry_url }}/trafficcue/trafficcue-server:latest
|
||||
tags: ${{ vars.registry_url }}/trafficcue/trafficcue-server:${{ gitea.ref_name == 'main' && 'latest' || gitea.ref_name }}
|
||||
platforms: linux/amd64
|
||||
|
||||
Reference in New Issue
Block a user