Skip to content

Commit

Permalink
fix: workflow dockerfile path
Browse files Browse the repository at this point in the history
  • Loading branch information
maazh10 committed Nov 17, 2024
1 parent e1aa0cc commit 3e70d64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
run: echo "${{ secrets.DOCKERHUB_TOKEN }}" | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin

- name: Build Portfolio Image
run: docker build --file portfolio/Dockerfile --tag $PORTFOLIO_IMAGE_NAME
run: docker build portfolio/ --file portfolio/Dockerfile --tag $PORTFOLIO_IMAGE_NAME

- name: Build Blog Image
run: docker build --file blog/Dockerfile --tag $BLOG_IMAGE_NAME
run: docker build blog/ --file blog/Dockerfile --tag $BLOG_IMAGE_NAME

- name: Log into GitHub Container Registry
run: echo "${{ secrets.CR_PAT }}" | docker login https://ghcr.io -u ${{ github.actor }} --password-stdin
Expand Down

0 comments on commit 3e70d64

Please sign in to comment.