fix: ci
All checks were successful
Docker Image CI / build (push) Successful in 3s

This commit is contained in:
2025-10-22 23:17:59 +08:00
parent 1f5b68e75f
commit 471389b69e

View File

@@ -21,11 +21,10 @@ jobs:
- name: Build and push Docker images
env:
HARBOR_URL: ${{ vars.HARBOR_URL }}
TAG: ${{ github.sha }}
REPOSITORY: ${{ github.repository }}
run: |
ROOT_DIR=$(pwd)
IMAGE_NAME="${HARBOR_URL}/release/$REPOSITORY:${TAG}"
IMAGE_NAME="${HARBOR_URL}/release/$REPOSITORY:$GITHUB_REF_NAME"
echo "Building image: ${IMAGE_NAME}"
docker build -t ${IMAGE_NAME} .
echo "Pushing image: ${IMAGE_NAME}"