@@ -114,7 +114,7 @@ jobs:
114
114
id : extract_tag
115
115
116
116
- name : Build and push - New Push
117
- uses : docker/build-push-action@v4
117
+ uses : docker/build-push-action@v5
118
118
if : ${{ startsWith(github.ref, 'refs/tags/v') != true && github.event_name != 'pull_request' }}
119
119
with :
120
120
context : .
@@ -131,7 +131,7 @@ jobs:
131
131
tags : cloudnativelabs/kube-router-git:${{ steps.extract_branch.outputs.branch }}
132
132
133
133
- name : Build and push - New PR
134
- uses : docker/build-push-action@v4
134
+ uses : docker/build-push-action@v5
135
135
if : github.event_name == 'pull_request'
136
136
with :
137
137
context : .
@@ -145,7 +145,7 @@ jobs:
145
145
146
146
# Tagging a release candidate, don't update latest
147
147
- name : Build and push - New Tag (Release Candidate)
148
- uses : docker/build-push-action@v4
148
+ uses : docker/build-push-action@v5
149
149
if : ${{ startsWith(github.ref, 'refs/tags/v') && contains(github.ref, '-rc') }}
150
150
with :
151
151
context : .
@@ -164,7 +164,7 @@ jobs:
164
164
165
165
# Tagging a proper release, update latest
166
166
- name : Build and push - New Tag
167
- uses : docker/build-push-action@v4
167
+ uses : docker/build-push-action@v5
168
168
if : ${{ startsWith(github.ref, 'refs/tags/v') && ! contains(github.ref, '-rc') }}
169
169
with :
170
170
context : .
0 commit comments