Skip to content

Commit

Permalink
update go build for SCRATCH image
Browse files Browse the repository at this point in the history
  • Loading branch information
ganawaj committed Mar 27, 2022
1 parent 8977d65 commit 9d32171
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,9 @@ jobs:
env:
GOOS: linux
GOARCH: amd64
CGO_ENABLED: 0
run: |
go build -ldflags "-w -s -X main.version=${{ needs.metadata_raw-version.outputs.raw-version }}" \
go build -a -installsuffix cgo -ldflags "-w -s -X main.version=${{ needs.metadata_raw-version.outputs.raw-version }}" \
-o=bin/as207414_linux_amd64 \
./cmd/ui && \
chmod +x bin/as207414_linux_amd64 && \
Expand Down

0 comments on commit 9d32171

Please sign in to comment.