Skip to content

Commit

Permalink
fix: docker build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tenequm committed Sep 29, 2023
1 parent 70c22aa commit 22fbdc4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/reusable-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ jobs:
- name: Build and push Docker image
run: |
# This is needed to fix an issue when running on self-hosted runners in GKE
git config --global --add safe.directory /__w/mangata-node/mangata-node
docker login -u ${{ secrets.DOCKERHUB_USERNAME }} -p ${{ secrets.DOCKERHUB_TOKEN }}
docker build -f devops/dockerfiles/node/Dockerfile \
--label="git_rev=$(git rev-parse HEAD)" \
Expand Down

0 comments on commit 22fbdc4

Please sign in to comment.