feat: expose build version in public config

- add version to public/admin config responses
- inject build version in Docker and GoReleaser builds
- limit Docker image publishing to v* tags
- restore soft-deleted settings on upsert
This commit is contained in:
line-6000
2026-05-21 19:23:04 +08:00
parent 049a15cb95
commit 85b81e661c
185 changed files with 409 additions and 207 deletions
+1 -5
View File
@@ -1,11 +1,7 @@
name: docker-alpine-epusdt
on:
workflow_dispatch:
push:
branches:
- "main"
- "master"
tags:
- "v*"
@@ -34,7 +30,6 @@ jobs:
tags: |
type=raw,value=alpine
type=raw,value=latest
type=ref,event=branch,suffix=-alpine
type=ref,event=tag
type=sha,prefix=sha-,suffix=-alpine
@@ -53,5 +48,6 @@ jobs:
platforms: linux/amd64,linux/arm64
build-args: |
API_RATE_URL=${{ vars.API_RATE_URL }}
BUILD_VERSION=${{ github.ref_name }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}