**chore(build): rename artifacts and adjust workflows for 'plus' variant**

- Updated Docker and release workflows to use `cli-proxy-api-plus` as the Docker repository name and adjusted tag generation logic.
- Renamed artifacts in Goreleaser configuration to align with the new 'plus' variant naming convention.
This commit is contained in:
Luis Pater
2025-11-30 17:54:37 +08:00
parent 0087eecad8
commit 52e5551d8f
3 changed files with 6 additions and 12 deletions

View File

@@ -7,7 +7,7 @@ on:
env:
APP_NAME: CLIProxyAPI
DOCKERHUB_REPO: eceasy/cli-proxy-api
DOCKERHUB_REPO: eceasy/cli-proxy-api-plus
jobs:
docker:
@@ -26,11 +26,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Generate Build Metadata
run: |
VERSION=$(git describe --tags --always --dirty)
if [[ "$VERSION" != *"-plus" ]]; then
VERSION="${VERSION}-plus"
fi
echo "VERSION=${VERSION}" >> $GITHUB_ENV
echo VERSION=`git describe --tags --always --dirty` >> $GITHUB_ENV
echo COMMIT=`git rev-parse --short HEAD` >> $GITHUB_ENV
echo BUILD_DATE=`date -u +%Y-%m-%dT%H:%M:%SZ` >> $GITHUB_ENV
- name: Build and push
@@ -46,4 +42,5 @@ jobs:
COMMIT=${{ env.COMMIT }}
BUILD_DATE=${{ env.BUILD_DATE }}
tags: |
${{ env.DOCKERHUB_REPO }}:latest
${{ env.DOCKERHUB_REPO }}:${{ env.VERSION }}

View File

@@ -24,9 +24,6 @@ jobs:
- name: Generate Build Metadata
run: |
VERSION=$(git describe --tags --always --dirty)
if [[ "$VERSION" != *"-plus" ]]; then
VERSION="${VERSION}-plus"
fi
echo "VERSION=${VERSION}" >> $GITHUB_ENV
echo COMMIT=`git rev-parse --short HEAD` >> $GITHUB_ENV
echo BUILD_DATE=`date -u +%Y-%m-%dT%H:%M:%SZ` >> $GITHUB_ENV