From 8ae456b20bbc7034df425a4a64e88e40bd7f6219 Mon Sep 17 00:00:00 2001 From: Googlefan Date: Sat, 22 Feb 2025 09:35:54 +0000 Subject: [PATCH] fix --- .github/workflows/CI.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 3fb6eba..c8c8074 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -19,9 +19,6 @@ permissions: contents: read id-token: write packages: write - -env: - GHCR_REPO: ghcr.io/tuna2134/sbv2-api jobs: linux: @@ -155,7 +152,8 @@ jobs: uses: docker/metadata-action@v5 with: images: | - ${{ env.GHCR_REPO }} + ghcr.io/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}:latest + ghcr.io/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}:${{ github.sha }} - name: Login to GHCR uses: docker/login-action@v3