update the workflow

This commit is contained in:
Xoconoch
2025-06-03 19:39:55 -06:00
parent 09fdcb7610
commit 41461aef3f
2 changed files with 5 additions and 2 deletions

View File

@@ -42,7 +42,9 @@ jobs:
- name: Set version in config.html
run: |
VERSION=$(echo "${{ steps.meta.outputs.version }}" | sed 's/^v//')
TAG_VERSION="${{ github.ref_name }}"
# Remove 'v' prefix if it exists
VERSION="${TAG_VERSION#v}"
sed -i "s|Set on build|Version: $VERSION|g" static/html/config.html
# Build and push Docker image with multiarch support