From 2cce51d14819e60166a1c82670ef962a717005c5 Mon Sep 17 00:00:00 2001 From: DQ Date: Fri, 11 Apr 2025 01:08:43 +1000 Subject: [PATCH] Update GitHub Actions workflow to specify Docker image path - Changed the IMAGE_NAME environment variable to 'operation-cache-controller'. - Updated the Docker image export path to include 'azure' in the registry URL. --- .github/workflows/release.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f7f335d..bb9f521 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,7 +32,10 @@ jobs: - name: Build and push Docker image run: | + set -e + # Convert repository name to lowercase + export IMAGE_NAME=$(echo ${{ env.IMAGE_NAME }} | tr '[:upper:]' '[:lower:]') # Set the image name with registry and tag - export IMG=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.ref_name }} + export IMG=${{ env.REGISTRY }}/$IMAGE_NAME:${{ github.ref_name }} # Build and push using make target - make docker-buildx \ No newline at end of file + make docker-buildx \ No newline at end of file