fix: align build version source with tags and VERSION fallback

This commit is contained in:
CJACK.
2026-03-20 23:55:10 +08:00
parent 7af0098d1b
commit 0c2743a48c
12 changed files with 415 additions and 134 deletions

View File

@@ -123,5 +123,7 @@ jobs:
labels: |
org.opencontainers.image.version=${{ steps.next_version.outputs.new_version }}
org.opencontainers.image.revision=${{ github.sha }}
build-args: |
BUILD_VERSION=${{ steps.next_version.outputs.new_tag }}
cache-from: type=gha
cache-to: type=gha,mode=max