From 27f3e76c7752f2fea6204b8f0eca8f85eb4e9793 Mon Sep 17 00:00:00 2001 From: Matthew Penner Date: Tue, 12 Mar 2024 21:43:50 -0600 Subject: [PATCH] ci: update to go 1.21.8 and 1.22.1 Signed-off-by: Matthew Penner --- .github/workflows/push.yaml | 6 +++--- .github/workflows/release.yaml | 2 +- Dockerfile | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index 32dbac2..84f43e4 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -16,7 +16,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-22.04] - go: ["1.20.12", "1.21.5"] + go: ["1.21.8", "1.22.1"] goos: [linux] goarch: [amd64, arm64] @@ -62,14 +62,14 @@ jobs: - name: Upload Release Artifact uses: actions/upload-artifact@v4 - if: ${{ (github.ref == 'refs/heads/develop' || github.event_name == 'pull_request') && matrix.go == '1.20.12' }} + if: ${{ (github.ref == 'refs/heads/develop' || github.event_name == 'pull_request') && matrix.go == '1.21.8' }} with: name: wings_linux_${{ matrix.goarch }} path: dist/wings - name: Upload Debug Artifact uses: actions/upload-artifact@v4 - if: ${{ (github.ref == 'refs/heads/develop' || github.event_name == 'pull_request') && matrix.go == '1.20.12' }} + if: ${{ (github.ref == 'refs/heads/develop' || github.event_name == 'pull_request') && matrix.go == '1.21.8' }} with: name: wings_linux_${{ matrix.goarch }}_debug path: dist/wings_debug diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6707fad..b0ab26d 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -17,7 +17,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: "1.20.12" + go-version: "1.21.8" - name: Build release binaries env: diff --git a/Dockerfile b/Dockerfile index fead28b..bf4b133 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Stage 1 (Build) -FROM golang:1.20.12-alpine AS builder +FROM golang:1.21.8-alpine AS builder ARG VERSION RUN apk add --update --no-cache git make