Skip to content

Commit 98cc2ab

Browse files
committed
feat: bump go 1.22 -> 1.23
Also bump the docker/build-push action v5 -> v6.
1 parent d341f64 commit 98cc2ab

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/pr.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ jobs:
1010
strategy:
1111
matrix:
1212
go-version:
13-
- "1.21"
1413
- "1.22"
14+
- "1.23"
1515
steps:
1616
- name: Set up Docker buildx
1717
uses: docker/setup-buildx-action@v3
@@ -22,7 +22,7 @@ jobs:
2222
username: ${{ github.actor }}
2323
password: ${{ github.token }}
2424
- name: Build image
25-
uses: docker/build-push-action@v5
25+
uses: docker/build-push-action@v6
2626
with:
2727
build-args: |
2828
GO_VERSION=${{ matrix.go-version }}

.github/workflows/release.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,22 @@ name: Weekly Release
33
# Build a fresh image every week.
44
on:
55
schedule:
6-
- cron: "0 14 * * 1" # run at 9am eastern US time every Monday
6+
- cron: 0 14 * * 1 # run at 9am eastern US time every Monday
77
push:
88
branches:
99
- main
1010

1111
env:
12-
LATEST_GO_VERSION: "1.22"
12+
LATEST_GO_VERSION: "1.23"
1313

1414
jobs:
1515
build_and_upload_image:
1616
runs-on: ubuntu-latest
1717
strategy:
1818
matrix:
1919
go-version:
20-
- "1.21"
2120
- "1.22"
21+
- "1.23"
2222
steps:
2323
- name: Set up Docker buildx
2424
uses: docker/setup-buildx-action@v3
@@ -30,7 +30,7 @@ jobs:
3030
password: ${{ github.token }}
3131
- name: Build and Push Image
3232
if: ${{ matrix.go-version != env.LATEST_GO_VERSION }}
33-
uses: docker/build-push-action@v5
33+
uses: docker/build-push-action@v6
3434
with:
3535
build-args: |
3636
GO_VERSION=${{ matrix.go-version }}
@@ -45,7 +45,7 @@ jobs:
4545
cache-to: type=gha,mode=max
4646
- name: Build and Push 'latest' Image
4747
if: ${{ matrix.go-version == env.LATEST_GO_VERSION }}
48-
uses: docker/build-push-action@v5
48+
uses: docker/build-push-action@v6
4949
with:
5050
build-args: |
5151
GO_VERSION=${{ matrix.go-version }}

0 commit comments

Comments
 (0)