Skip to content

Commit

Permalink
#112 - cd 코드 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
AnTaeho committed Dec 8, 2024
1 parent fccc5c7 commit c68150a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cd-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit c68150a

Please sign in to comment.