Skip to content

Commit

Permalink
fix: docker build failing
Browse files Browse the repository at this point in the history
  • Loading branch information
fallion committed Aug 28, 2024
1 parent 9f3a122 commit 28d0365
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
cache_registry: aevea/cache
strip_tag_prefix: v

- name: Sync Readme
uses: ms-jpq/sync-dockerhub-readme@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: aevea/mock-jwt-server
readme: "./README.md"
# - name: Sync Readme
# uses: ms-jpq/sync-dockerhub-readme@v1
# with:
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_PASSWORD }}
# repository: aevea/mock-jwt-server
# readme: "./README.md"
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ endef

build/docker:
$(call prepare_build_vars)
CGO_ENABLED=0 go build -a -tags "osusergo netgo" --ldflags "${DATE_FLAG} ${VERSION_FLAG} ${COMMIT_FLAG} -linkmode external -extldflags '-static'" -o build/jwt-server ./main.go
go build -a -tags "osusergo netgo" --ldflags "${DATE_FLAG} ${VERSION_FLAG} ${COMMIT_FLAG} -extldflags '-static'" -o build/jwt-server ./main.go

build/local:
$(call prepare_build_vars)
Expand Down

0 comments on commit 28d0365

Please sign in to comment.