Skip to content

Commit

Permalink
fix: add docker hub login step to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
maazh10 committed Sep 25, 2024
1 parent b2d8ff7 commit 33689ac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Log into Docker Hub
run: echo "${{ secrets.DOCKERHUB_TOKEN }}" | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin

- name: Build image
run: docker build . --file Dockerfile --tag $IMAGE_NAME

Expand Down

0 comments on commit 33689ac

Please sign in to comment.