36
36
env :
37
37
AGENT_TYPE : ${{ matrix.variant }}
38
38
steps :
39
- - uses : actions/checkout@v4
39
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
40
40
- name : Load Manifest
41
41
id : load-manifest
42
42
run : |
@@ -52,33 +52,33 @@ jobs:
52
52
shell : pwsh
53
53
54
54
- name : Setup QEMU
55
- uses : docker/setup-qemu-action@v3
55
+ uses : docker/setup-qemu-action@53851d14592bedcffcf25ea515637cff71ef929a # v3.3.0
56
56
with :
57
57
platforms : arm64
58
58
59
59
- name : Setup Buildx
60
- uses : docker/setup-buildx-action@v3
60
+ uses : docker/setup-buildx-action@6524bf65af31da8d45b59e8c27de4bd072b392f5 # v3.8.0
61
61
with :
62
62
install : true
63
63
version : latest
64
64
65
65
- name : Docker Meta
66
66
id : meta
67
- uses : docker/metadata-action@v5
67
+ uses : docker/metadata-action@369eb591f429131d6889c46b94e711f089e6ca96 # v5.6.1
68
68
with :
69
69
images : ${{ steps.load-manifest.outputs.image-name }}
70
70
tags : |
71
71
type=raw,value=trunk-artifact,enable=${{ github.ref == 'refs/heads/master' }}
72
72
type=raw,value=backport-artifact,enable=${{ startsWith(github.ref, 'refs/heads/backport/') }}
73
73
type=raw,value=pr-artifact,enable=${{ github.event_name == 'pull_request' }}
74
74
75
- - uses : docker/login-action@v3
75
+ - uses : docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
76
76
with :
77
77
registry : ghcr.io
78
78
username : ${{ github.actor }}
79
79
password : ${{ secrets.GITHUB_TOKEN }}
80
80
81
- - uses : docker/build-push-action@v6
81
+ - uses : docker/build-push-action@ca877d9245402d1537745e0e356eab47c3520991 # v6.13.0
82
82
id : build
83
83
with :
84
84
file : ${{ steps.load-manifest.outputs.docker-file }}
@@ -132,9 +132,9 @@ jobs:
132
132
version : ${{ needs.build.outputs.artifact-version-python }}
133
133
if : ${{ !(github.event_name == 'pull_request' && github.actor == 'dependabot[bot]') }}
134
134
steps :
135
- - uses : actions/checkout@v4
135
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
136
136
- name : Login (Github)
137
- uses : docker/login-action@v3
137
+ uses : docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
138
138
with :
139
139
registry : ghcr.io
140
140
username : ${{ github.actor }}
@@ -157,7 +157,7 @@ jobs:
157
157
if : ${{ needs.test.result != 'success' }}
158
158
run : exit 1
159
159
- name : Create Digest Comment
160
- uses : peter-evans/create-or-update-comment@v4
160
+ uses : peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
161
161
if : ${{ github.actor != 'dependabot[bot]' }}
162
162
with :
163
163
issue-number : ${{ github.event.pull_request.number }}
@@ -205,16 +205,16 @@ jobs:
205
205
group : internal-${{ matrix.variants.type }}
206
206
if : ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/backport/') }}
207
207
steps :
208
- - uses : actions/checkout@v4
208
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
209
209
- name : Login (Github)
210
- uses : docker/login-action@v3
210
+ uses : docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
211
211
with :
212
212
registry : ghcr.io
213
213
username : ${{ github.actor }}
214
214
password : ${{ secrets.GITHUB_TOKEN }}
215
215
- name : Docker Meta
216
216
id : meta
217
- uses : docker/metadata-action@v5
217
+ uses : docker/metadata-action@369eb591f429131d6889c46b94e711f089e6ca96 # v5.6.1
218
218
with :
219
219
images : ghcr.io/contrast-security-oss/agent-operator-images/agent-${{ matrix.variants.type }}
220
220
tags : |
@@ -224,7 +224,7 @@ jobs:
224
224
type=raw,value=${{ matrix.variants.version }}
225
225
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/master' }}
226
226
- name : Tag for Release
227
-
227
+ uses : akhilerm/tag-push-action@f35ff2cb99d407368b5c727adbcc14a2ed81d509 # v2.2.0
228
228
with :
229
229
src : ${{ matrix.variants.digest }}
230
230
dst : |
@@ -263,27 +263,27 @@ jobs:
263
263
group : public-${{ matrix.variants.type }}
264
264
if : ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/backport/') }}
265
265
steps :
266
- - uses : actions/checkout@v4
266
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
267
267
- name : Login (Github)
268
- uses : docker/login-action@v3
268
+ uses : docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
269
269
with :
270
270
registry : ghcr.io
271
271
username : ${{ github.actor }}
272
272
password : ${{ secrets.GITHUB_TOKEN }}
273
273
- name : Login (Dockerhub)
274
- uses : docker/login-action@v3
274
+ uses : docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
275
275
with :
276
276
username : ${{ secrets.DOCKERHUB_USERNAME }}
277
277
password : ${{ secrets.DOCKERHUB_PAT }}
278
278
- name : Login (Quay)
279
- uses : docker/login-action@v3
279
+ uses : docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
280
280
with :
281
281
registry : quay.io
282
282
username : ${{ secrets.QUAY_USERNAME }}
283
283
password : ${{ secrets.QUAY_PASSWORD }}
284
284
- name : Docker Meta
285
285
id : meta
286
- uses : docker/metadata-action@v5
286
+ uses : docker/metadata-action@369eb591f429131d6889c46b94e711f089e6ca96 # v5.6.1
287
287
with :
288
288
images : |
289
289
docker.io/contrast/agent-${{ matrix.variants.type }}
@@ -295,7 +295,7 @@ jobs:
295
295
type=raw,value=${{ matrix.variants.version }}
296
296
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/master' }}
297
297
- name : Tag for Release
298
-
298
+ uses : akhilerm/tag-push-action@f35ff2cb99d407368b5c727adbcc14a2ed81d509 # v2.2.0
299
299
with :
300
300
src : ${{ matrix.variants.digest }}
301
301
dst : |
0 commit comments