Skip to content

Commit

Permalink
fix: docker build 명령어에서 Dockerfile의 경로를 명시하여 Dockerfile 찾지 못하는 문제 해결 시도
Browse files Browse the repository at this point in the history
  • Loading branch information
khee2 committed Jul 22, 2024
1 parent da90bb8 commit 5bf11a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:

- name: Build and push Docker image
run: |
docker build -t ${{ secrets.DOCKERHUB_REPOSITORY }} .
docker build -t ${{ secrets.DOCKERHUB_REPOSITORY }} -f ./Dockerfile .
docker tag ${{ secrets.DOCKERHUB_REPOSITORY }} ${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.DOCKERHUB_REPOSITORY }}:${{ github.sha }}
docker push ${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.DOCKERHUB_REPOSITORY }}:${{ github.sha }}
Expand Down

0 comments on commit 5bf11a8

Please sign in to comment.