🔧 chore: drop v prefix from release tags

This commit is contained in:
2026-07-27 18:53:48 +07:00
parent 5abd50f8a3
commit a0dcf7947e
2 changed files with 2 additions and 2 deletions
@@ -3,7 +3,7 @@ name: CI
on:
push:
branches: ["main"]
tags: ["v*.*.*"]
tags: ["*.*.*"]
pull_request:
branches: ["main"]
@@ -45,7 +45,7 @@ jobs:
id: meta
run: |
TAGS="ghcr.io/${{ steps.owner.outputs.owner }}/test-ip:latest"
if [[ "${{ github.ref }}" == refs/tags/v* ]]; then
if [[ "${{ github.ref }}" =~ ^refs/tags/[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
VERSION="${{ github.ref_name }}"
TAGS="ghcr.io/${{ steps.owner.outputs.owner }}/test-ip:${VERSION},ghcr.io/${{ steps.owner.outputs.owner }}/test-ip:latest"
fi