build: update build process for cross-platform compatibility

- Update the container to `golang:1.20-alpine`
- Add a new file `.goreleaser.yaml`
- Modify `.goreleaser.yaml` to include additional builds and flags for cross-compiling and building the binary
- Add a new checksum file to the release archives

Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi.Wu
2023-04-09 08:16:45 +08:00
parent 244b0a9e58
commit c42b26f044
2 changed files with 85 additions and 1 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ jobs:
testing:
runs-on: ubuntu-latest
container: golang:1.19-alpine
container: golang:1.20-alpine
steps:
- name: Checkout repository
uses: actions/checkout@v3