From 35968623b1975f68b6901b071005667a96047e5e Mon Sep 17 00:00:00 2001 From: Lukasz Antoniak Date: Tue, 11 Jun 2024 16:15:20 +0200 Subject: [PATCH] Pin Golang version to 1.19.2 --- .github/workflows/release-binary.yml | 2 +- .github/workflows/tests.yml | 10 +++++----- Dockerfile | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release-binary.yml b/.github/workflows/release-binary.yml index 4f05bead..720ac42b 100644 --- a/.github/workflows/release-binary.yml +++ b/.github/workflows/release-binary.yml @@ -11,7 +11,7 @@ jobs: build: name: Build and Upload Release Assets runs-on: ubuntu-latest - container: golang:1.19-bullseye + container: golang:1.19.2-bullseye steps: - name: Checkout code uses: actions/checkout@v2 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9eebbd50..0fe0d272 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -36,7 +36,7 @@ jobs: run: | sudo apt update sudo apt -y install default-jre gcc git wget - wget https://go.dev/dl/go1.19.linux-amd64.tar.gz + wget https://go.dev/dl/go1.19.2.linux-amd64.tar.gz sudo tar -xzf go*.tar.gz -C /usr/local/ export PATH=$PATH:/usr/local/go/bin export PATH=$PATH:`go env GOPATH`/bin @@ -59,7 +59,7 @@ jobs: run: | sudo apt update sudo apt -y install openjdk-8-jdk gcc git wget - wget https://go.dev/dl/go1.19.linux-amd64.tar.gz + wget https://go.dev/dl/go1.19.2.linux-amd64.tar.gz sudo tar -xzf go*.tar.gz -C /usr/local/ export PATH=$PATH:/usr/local/go/bin export PATH=$PATH:`go env GOPATH`/bin @@ -83,7 +83,7 @@ jobs: run: | sudo apt update sudo apt -y install openjdk-8-jdk gcc git wget pip - wget https://go.dev/dl/go1.19.linux-amd64.tar.gz + wget https://go.dev/dl/go1.19.2.linux-amd64.tar.gz sudo tar -xzf go*.tar.gz -C /usr/local/ export PATH=$PATH:/usr/local/go/bin export PATH=$PATH:`go env GOPATH`/bin @@ -113,7 +113,7 @@ jobs: run: | sudo apt update sudo apt -y install openjdk-8-jdk gcc git pip wget - wget https://go.dev/dl/go1.19.linux-amd64.tar.gz + wget https://go.dev/dl/go1.19.2.linux-amd64.tar.gz sudo tar -xzf go*.tar.gz -C /usr/local/ export PATH=$PATH:/usr/local/go/bin export PATH=$PATH:`go env GOPATH`/bin @@ -138,7 +138,7 @@ jobs: run: | sudo apt update sudo apt -y install openjdk-8-jdk gcc git pip wget - wget https://go.dev/dl/go1.19.linux-amd64.tar.gz + wget https://go.dev/dl/go1.19.2.linux-amd64.tar.gz sudo tar -xzf go*.tar.gz -C /usr/local/ export PATH=$PATH:/usr/local/go/bin export PATH=$PATH:`go env GOPATH`/bin diff --git a/Dockerfile b/Dockerfile index 875366fc..50fbb125 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ # $ docker build . -f ./Dockerfile -t zdm-proxy ########## -FROM golang:1.19-bullseye AS builder +FROM golang:1.19.2-bullseye AS builder ENV GO111MODULE=on \ CGO_ENABLED=0 \