diff --git a/.github/workflows/build-master.yml b/.github/workflows/build-master.yml index bbd140a..289bcd5 100644 --- a/.github/workflows/build-master.yml +++ b/.github/workflows/build-master.yml @@ -30,7 +30,7 @@ jobs: TIME: "${{ steps.current-time.outputs.time }}" with: xgo_version: latest - go_version: 1.18 + go_version: 1.19 dest: dist prefix: hysteria targets: linux/amd64,linux/386,linux/arm-5,linux/arm-7,linux/arm64,linux/s390x,linux/mipsle,darwin-10.12/amd64,darwin-10.12/arm64,windows-6.0/amd64,windows-6.0/386 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index df4cd37..dc09777 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,7 +32,7 @@ jobs: TIME: "${{ steps.current-time.outputs.time }}" with: xgo_version: latest - go_version: 1.18 + go_version: 1.19 dest: dist prefix: hysteria-tun targets: linux/amd64,linux/386,linux/arm-5,linux/arm-7,linux/arm64,linux/s390x,linux/mipsle,darwin-10.12/amd64,darwin-10.12/arm64,windows-6.0/amd64,windows-6.0/386 @@ -40,7 +40,7 @@ jobs: pkg: cmd - name: Build (notun) - uses: tobyxdd/go-cross-build@6f4e7852e615d5499d1e223cd5e6e7569915b023 + uses: tobyxdd/go-cross-build@d00fc41eb205f57dd90f6e5af4613e21c7ebe73f env: TIME: "${{ steps.current-time.outputs.time }}" CGO_ENABLED: "0" diff --git a/Dockerfile b/Dockerfile index 250b002..41d3a94 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:alpine AS builder +FROM golang:1.19-alpine AS builder LABEL maintainer="mritd "