We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ad2833 commit 36529dbCopy full SHA for 36529db
.github/workflows/stage.yml
@@ -27,7 +27,11 @@ jobs:
27
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28
29
- name: Build Staging
30
- run: go build
+ run: go build -ldflags="-w -s"
31
+ env:
32
+ CGO_ENABLED: "0"
33
+ GOOS: linux
34
+ GOARCH: amd64
35
36
- name: Publish
37
uses: docker/build-push-action@v1
Dockerfile
@@ -1,3 +1,3 @@
1
FROM docker/compose
2
-COPY pico /bin/pico
3
-ENTRYPOINT ["pico"]
+COPY pico /
+ENTRYPOINT ["/pico"]
0 commit comments