From 1532561b56976b156f0fca284b17c426d5946e40 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Tue, 5 Nov 2024 14:23:58 +0900 Subject: [PATCH] Fixing repository and registry name --- .github/workflows/docker.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index da02064..9d84e26 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -6,7 +6,7 @@ on: - "Dockerfile" # Trigger only when the Dockerfile is modified env: - IMAGE_NAME: ghcr.io/${{ github.repository }}:${{ github.sha }} # Image name with SHA tag + IMAGE_NAME: ghcr.io/retrodeck-builder:${{ github.sha }} # Image name with SHA tag jobs: build-and-push: @@ -34,5 +34,5 @@ jobs: - name: Tag as Latest (optional) if: github.ref == 'refs/heads/main' # Only tag as 'latest' on the main branch run: | - docker tag $IMAGE_NAME ghcr.io/${{ github.repository }}:latest - docker push ghcr.io/${{ github.repository }}:latest + docker tag $IMAGE_NAME ghcr.io/retrodeck:latest + docker push ghcr.io/retrodeck:latest