From ac260bd5eef15b732d6c4e4bf8ab114e3bbabeb2 Mon Sep 17 00:00:00 2001 From: Matthew Penner Date: Wed, 24 Jul 2024 13:14:25 -0600 Subject: [PATCH] ci: update to go1.22.5, drop go1.21 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 5c9b61a..bc2d166 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.21.9", "1.22.2"] + go: ["1.22.5"] 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.21.8' }} + if: ${{ (github.ref == 'refs/heads/develop' || github.event_name == 'pull_request') && matrix.go == '1.22.5' }} 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.21.8' }} + if: ${{ (github.ref == 'refs/heads/develop' || github.event_name == 'pull_request') && matrix.go == '1.22.5' }} with: name: wings_linux_${{ matrix.goarch }}_debug path: dist/wings_debug diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index bb6c1b9..dc93ee4 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.21.9" + go-version: "1.22.5" - name: Build release binaries env: diff --git a/Dockerfile b/Dockerfile index 0e4a3a8..9f69d5f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Stage 1 (Build) -FROM golang:1.21.9-alpine AS builder +FROM golang:1.22.5-alpine AS builder ARG VERSION RUN apk add --update --no-cache git make