52
52
forked_workflow : ${{ steps.vars.outputs.forked_workflow }}
53
53
steps :
54
54
- name : Checkout Repository
55
- uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
55
+ uses : actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
56
56
with :
57
57
fetch-depth : 0
58
58
70
70
shell : bash --noprofile --norc -o pipefail {0}
71
71
72
72
- name : Setup Golang Environment
73
- uses : actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
73
+ uses : actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
74
74
with :
75
75
go-version-file : go.mod
76
76
@@ -103,7 +103,7 @@ jobs:
103
103
source .github/data/version.txt
104
104
echo "ic_version=${IC_VERSION}" >> $GITHUB_OUTPUT
105
105
echo "chart_version=${HELM_CHART_VERSION}" >> $GITHUB_OUTPUT
106
- echo "forked_workflow=${{ (github.event.pull_request. head.repo.full_name != github. github.event.pull_request.base.repo.full_name) || github.repository != 'nginxinc/kubernetes-ingress' }}" >> $GITHUB_OUTPUT
106
+ echo "forked_workflow=${{ (github.event.pull_request && github.event.pull_request. head.repo.full_name != github.event.pull_request.base.repo.full_name) || github.repository != 'nginxinc/kubernetes-ingress' }}" >> $GITHUB_OUTPUT
107
107
publish=false
108
108
if ${{ github.event_name == 'workflow_dispatch' && inputs.publish-image }}; then
109
109
publish=true
@@ -145,9 +145,9 @@ jobs:
145
145
needs : checks
146
146
steps :
147
147
- name : Checkout Repository
148
- uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
148
+ uses : actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
149
149
- name : Setup Golang Environment
150
- uses : actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
150
+ uses : actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
151
151
with :
152
152
go-version-file : go.mod
153
153
if : ${{ needs.checks.outputs.binary_cache_hit != 'true' }}
@@ -171,7 +171,7 @@ jobs:
171
171
contents : write # for lucacome/draft-release
172
172
steps :
173
173
- name : Checkout Repository
174
- uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
174
+ uses : actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
175
175
with :
176
176
fetch-depth : 0
177
177
@@ -208,12 +208,12 @@ jobs:
208
208
issues : write # for goreleaser/goreleaser-action to close milestone
209
209
steps :
210
210
- name : Checkout Repository
211
- uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
211
+ uses : actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
212
212
with :
213
213
fetch-depth : 0
214
214
215
215
- name : Setup Golang Environment
216
- uses : actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
216
+ uses : actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
217
217
with :
218
218
go-version-file : go.mod
219
219
if : ${{ needs.checks.outputs.binary_cache_hit != 'true' }}
@@ -246,7 +246,7 @@ jobs:
246
246
AZURE_STORAGE_ACCOUNT : ${{ secrets.AZURE_STORAGE_ACCOUNT }}
247
247
AZURE_STORAGE_KEY : ${{ secrets.AZURE_STORAGE_KEY }}
248
248
AZURE_BUCKET_NAME : ${{ secrets.AZURE_BUCKET_NAME }}
249
- GORELEASER_CURRENT_TAG : ${{ needs.checks.outputs.ic_version }}
249
+ GORELEASER_CURRENT_TAG : " v ${{ needs.checks.outputs.ic_version }}"
250
250
if : ${{ needs.checks.outputs.binary_cache_hit != 'true' }}
251
251
252
252
- name : Store Artifacts in Cache
@@ -279,7 +279,7 @@ jobs:
279
279
id-token : write
280
280
steps :
281
281
- name : Checkout Repository
282
- uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
282
+ uses : actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
283
283
284
284
- name : Fetch Cached Artifacts
285
285
uses : actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
@@ -418,7 +418,7 @@ jobs:
418
418
matrix : ${{ steps.set-matrix.outputs.matrix }}
419
419
steps :
420
420
- name : Checkout Repository
421
- uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
421
+ uses : actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
422
422
423
423
- id : set-matrix
424
424
run : |
@@ -481,7 +481,7 @@ jobs:
481
481
id-token : write
482
482
steps :
483
483
- name : Checkout Repository
484
- uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
484
+ uses : actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
485
485
486
486
- name : Set image variables
487
487
id : image_details
@@ -557,7 +557,7 @@ jobs:
557
557
if : ${{ needs.checks.outputs.forked_workflow == 'false' && steps.base_exists.outputs.exists != 0 }}
558
558
559
559
- name : Fetch Cached Artifacts
560
- uses : actions/cache@v4
560
+ uses : actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
561
561
with :
562
562
path : ${{ github.workspace }}/dist
563
563
key : nginx-ingress-${{ needs.checks.outputs.go_code_md5 }}
@@ -583,7 +583,7 @@ jobs:
583
583
if : ${{ needs.checks.outputs.forked_workflow == 'true' || steps.check-image.outcome == 'failure' }}
584
584
585
585
- name : Build ${{ matrix.images.image }} Container
586
- uses : docker/build-push-action@v5
586
+ uses : docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5.3.0
587
587
with :
588
588
file : build/Dockerfile
589
589
context : " ."
@@ -767,7 +767,7 @@ jobs:
767
767
packages : write # for helm to push to GHCR
768
768
steps :
769
769
- name : Checkout Repository
770
- uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
770
+ uses : actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
771
771
with :
772
772
path : kic
773
773
@@ -791,7 +791,7 @@ jobs:
791
791
if [ ${{ github.ref_type }} != "tag" ]; then
792
792
helm_versions="--app-version edge --version 0.0.0-edge"
793
793
else
794
- helm_versions="--app-version ${{ steps .checks.outputs.ic_version }} --version ${{ steps .checks.outputs.chart_version }}"
794
+ helm_versions="--app-version ${{ needs .checks.outputs.ic_version }} --version ${{ needs .checks.outputs.chart_version }}"
795
795
fi
796
796
output=$(helm package ${helm_versions} kic/charts/nginx-ingress)
797
797
echo "path=$(basename -- $(echo $output | cut -d: -f2))" >> $GITHUB_OUTPUT
@@ -802,7 +802,7 @@ jobs:
802
802
helm push ${{ steps.package.outputs.path }} oci://registry-1.docker.io/nginxcharts
803
803
804
804
- name : Checkout Repository
805
- uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
805
+ uses : actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
806
806
with :
807
807
repository : nginxinc/helm-charts
808
808
fetch-depth : 1
0 commit comments