Skip to content

Commit 0b267b0

Browse files
committed
feat(ci.yml): update github action versions
1 parent ca18201 commit 0b267b0

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/ci.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
runs-on: ubuntu-latest
2525
steps:
2626
- name: Set up Go 1.x
27-
uses: actions/setup-go@v3
27+
uses: actions/setup-go@v4
2828
with:
2929
go-version: ${{ env.GO_VERSION }}
3030
id: go
@@ -42,7 +42,7 @@ jobs:
4242
runs-on: ubuntu-latest
4343
steps:
4444
- name: Set up Go 1.x
45-
uses: actions/setup-go@v3
45+
uses: actions/setup-go@v4
4646
with:
4747
go-version: ${{ env.GO_VERSION }}
4848
id: go
@@ -62,7 +62,7 @@ jobs:
6262
runs-on: ubuntu-latest
6363
steps:
6464
- name: Set up Go 1.x
65-
uses: actions/setup-go@v3
65+
uses: actions/setup-go@v4
6666
with:
6767
go-version: ${{ env.GO_VERSION }}
6868
id: go
@@ -107,7 +107,7 @@ jobs:
107107
id: extract_tag
108108

109109
- name: Build and push - New Push
110-
uses: docker/build-push-action@v3
110+
uses: docker/build-push-action@v4
111111
if: ${{ startsWith(github.ref, 'refs/tags/v') != true && github.event_name != 'pull_request' }}
112112
with:
113113
context: .
@@ -123,7 +123,7 @@ jobs:
123123
tags: cloudnativelabs/kube-router-git:${{ steps.extract_branch.outputs.branch }}
124124

125125
- name: Build and push - New PR
126-
uses: docker/build-push-action@v3
126+
uses: docker/build-push-action@v4
127127
if: github.event_name == 'pull_request'
128128
with:
129129
context: .
@@ -137,7 +137,7 @@ jobs:
137137

138138
# Tagging a release candidate, don't update latest
139139
- name: Build and push - New Tag (Release Candidate)
140-
uses: docker/build-push-action@v3
140+
uses: docker/build-push-action@v4
141141
if: ${{ startsWith(github.ref, 'refs/tags/v') && contains(github.ref, '-rc') }}
142142
with:
143143
context: .
@@ -155,7 +155,7 @@ jobs:
155155
156156
# Tagging a proper release, update latest
157157
- name: Build and push - New Tag
158-
uses: docker/build-push-action@v3
158+
uses: docker/build-push-action@v4
159159
if: ${{ startsWith(github.ref, 'refs/tags/v') && ! contains(github.ref, '-rc') }}
160160
with:
161161
context: .
@@ -178,7 +178,7 @@ jobs:
178178
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
179179
steps:
180180
- name: Set up Go 1.x
181-
uses: actions/setup-go@v3
181+
uses: actions/setup-go@v4
182182
with:
183183
go-version: ${{ env.GO_VERSION }}
184184
id: go
@@ -187,7 +187,7 @@ jobs:
187187
uses: actions/checkout@v3
188188

189189
- name: Run GoReleaser
190-
uses: goreleaser/goreleaser-action@v3
190+
uses: goreleaser/goreleaser-action@v4
191191
with:
192192
version: latest
193193
args: release --rm-dist

0 commit comments

Comments
 (0)