Skip to content

Commit

Permalink
Update �deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
This2sho authored Mar 16, 2024
1 parent cabe085 commit ad70b2e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,15 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}
# GitHub Secret에서 Docker Hub 액세스 토큰을 가져옵니다.

- name: 위치 찾기
run: pwd && ls

- name: Build and Push
uses: docker/build-push-action@v2
with:
context: .
# Dockerfile이 있는 위치입니다.
file: .Dockerfile
file: Dockerfile
# Dockerfile의 경로입니다.
push: true # 이미지를 레지스트리에 푸시합니다.
tags: ${{ secrets.DOCKERHUB_USERNAME }}/pct-backend:${{ github.sha }}
Expand Down

0 comments on commit ad70b2e

Please sign in to comment.