Skip to content

Commit

Permalink
feat: bump go 1.22 -> 1.23
Browse files Browse the repository at this point in the history
Also bump the docker/build-push action v5 -> v6.
  • Loading branch information
ryboe committed Aug 17, 2024
1 parent d341f64 commit 879985b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,22 @@ 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:
runs-on: ubuntu-latest
strategy:
matrix:
go-version:
- "1.21"
- "1.22"
- "1.23"
steps:
- name: Set up Docker buildx
uses: docker/setup-buildx-action@v3
Expand All @@ -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 }}
Expand All @@ -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 }}
Expand Down

0 comments on commit 879985b

Please sign in to comment.