From 955c148d45c55802f5b04ddfa3fd25073a0950af Mon Sep 17 00:00:00 2001 From: SalkCoding Date: Thu, 12 Dec 2024 21:00:13 +0900 Subject: [PATCH] Action test --- .github/workflows/CD.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CD.yaml b/.github/workflows/CD.yaml index ff2cd5e..496b3a4 100644 --- a/.github/workflows/CD.yaml +++ b/.github/workflows/CD.yaml @@ -20,16 +20,16 @@ jobs: uses: docker/login-action@v1 with: username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} + password: ${{ secrets.DOCKER_TOKEN }} - name: Build and push - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: context: . file: ./Dockerfile platforms: linux/amd64 push: true - tags: ${{ secrets.DOCKER_REPOSITORY }}/${{ secrets.DOCKER_IMAGE }} + tags: ${{ secrets.DOCKER_USERNAME }}/${{ secrets.DOCKER_REPOSITORY }}:${{ secrets.DOCKER_IMAGE }} cache-from: type=gha # 여기서 gha 는 Guthub Actions 용 캐시를 의미합니다. cache-to: type=gha,mode=max