From c68150aaaf094704e8c757a262e7e2b1382dbeff Mon Sep 17 00:00:00 2001 From: Taaate Date: Sun, 8 Dec 2024 11:20:43 +0900 Subject: [PATCH] =?UTF-8?q?#112=20-=20cd=20=EC=BD=94=EB=93=9C=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/cd-dev.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cd-dev.yml b/.github/workflows/cd-dev.yml index 5b3cdec..06cf805 100644 --- a/.github/workflows/cd-dev.yml +++ b/.github/workflows/cd-dev.yml @@ -72,12 +72,12 @@ jobs: env: DOCKER_HUB_USERNAME: ${{ secrets.DOCKER_HUB_USERNAME }} DOCKER_HUB_PASSWORD: ${{ secrets.DOCKER_HUB_PASSWORD }} - DOCKER_IMAGE_TAG: palettee-server:latest + DOCKER_IMAGE_TAG: palettee-server:${{ github.sha }} run: | echo $DOCKER_HUB_PASSWORD | docker login -u $DOCKER_HUB_USERNAME --password-stdin - docker build -t $DOCKER_IMAGE_TAG . - docker tag $DOCKER_IMAGE_TAG $DOCKER_HUB_USERNAME/$DOCKER_IMAGE_TAG - docker push $DOCKER_HUB_USERNAME/$DOCKER_IMAGE_TAG + docker build --no-cache -t $DOCKER_IMAGE_TAG . + docker tag $DOCKER_IMAGE_TAG $DOCKER_HUB_USERNAME/palettee-server:latest + docker push $DOCKER_HUB_USERNAME/palettee-server:latest # - name: Show CWD Properties # run: |