From f513194d6c79508e0556848294cc3cd89f773cad Mon Sep 17 00:00:00 2001 From: tissueMO Date: Sun, 9 Feb 2025 21:17:31 +0900 Subject: [PATCH] =?UTF-8?q?GitHub=20Actions=20=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/cicd.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 108d6f7..53eb5a9 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -60,7 +60,7 @@ jobs: - name: Pull Image env: - GITHUB_REPOSITORY: ghcr.io/${{ github.repository }}/discord-extension + GITHUB_REPOSITORY: ${{ github.repository }} run: | docker pull ghcr.io/${GITHUB_REPOSITORY,,}/discord-extension:main @@ -77,8 +77,10 @@ jobs: echo "AWS_REGION=ap-northeast-1" >> .env - name: Build and Deploy + env: + GITHUB_REPOSITORY: ${{ github.repository }} run: | docker run --env-file .env \ - ghcr.io/${{ github.repository }}/discord-extension:main \ + ghcr.io/${GITHUB_REPOSITORY,,}/discord-extension:main \ ./deploy.sh