From 98cc2ab6ec860b0e2ba2c855282c898687fc3e4d Mon Sep 17 00:00:00 2001 From: Ryan Boehning <1250684+ryboe@users.noreply.github.com> Date: Sat, 17 Aug 2024 10:38:09 -0700 Subject: [PATCH] feat: bump go 1.22 -> 1.23 Also bump the docker/build-push action v5 -> v6. --- .github/workflows/pr.yml | 4 ++-- .github/workflows/release.yml | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 62f1a92..8303631 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -10,8 +10,8 @@ jobs: strategy: matrix: go-version: - - "1.21" - "1.22" + - "1.23" steps: - name: Set up Docker buildx uses: docker/setup-buildx-action@v3 @@ -22,7 +22,7 @@ jobs: username: ${{ github.actor }} password: ${{ github.token }} - name: Build image - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: build-args: | GO_VERSION=${{ matrix.go-version }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dff1173..8a4a4a5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,13 +3,13 @@ name: Weekly Release # Build a fresh image every week. on: schedule: - - cron: "0 14 * * 1" # run at 9am eastern US time every Monday + - cron: 0 14 * * 1 # run at 9am eastern US time every Monday push: branches: - main env: - LATEST_GO_VERSION: "1.22" + LATEST_GO_VERSION: "1.23" jobs: build_and_upload_image: @@ -17,8 +17,8 @@ jobs: strategy: matrix: go-version: - - "1.21" - "1.22" + - "1.23" steps: - name: Set up Docker buildx uses: docker/setup-buildx-action@v3 @@ -30,7 +30,7 @@ jobs: password: ${{ github.token }} - name: Build and Push Image if: ${{ matrix.go-version != env.LATEST_GO_VERSION }} - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: build-args: | GO_VERSION=${{ matrix.go-version }} @@ -45,7 +45,7 @@ jobs: cache-to: type=gha,mode=max - name: Build and Push 'latest' Image if: ${{ matrix.go-version == env.LATEST_GO_VERSION }} - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: build-args: | GO_VERSION=${{ matrix.go-version }}