fix: auto-detect version from version.go in Dockerfile, pass git tag in CI release

This commit is contained in:
2026-04-08 21:37:49 +02:00
parent dd4af5b25c
commit 3a860914d5
4 changed files with 10 additions and 4 deletions
+2
View File
@@ -59,6 +59,8 @@ jobs:
with:
context: .
push: true
build-args: |
VERSION=${{ steps.version.outputs.tag }}
tags: |
${{ steps.version.outputs.registry }}/${{ secrets.REGISTRY_USER }}/${{ env.IMAGE_NAME }}:latest
${{ steps.version.outputs.registry }}/${{ secrets.REGISTRY_USER }}/${{ env.IMAGE_NAME }}:${{ steps.version.outputs.tag }}