File tree Expand file tree Collapse file tree 4 files changed +40
-4
lines changed Expand file tree Collapse file tree 4 files changed +40
-4
lines changed Original file line number Diff line number Diff line change @@ -376,7 +376,7 @@ jobs:
376
376
NOTARY_TARGETS_PASSPHRASE : ${{ secrets.DOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASE }}
377
377
378
378
cleanup :
379
- name : Delete untagged Alpine NGINX mainline Docker images on the Amazon ECR Public Gallery
379
+ name : Delete untagged Alpine NGINX mainline Docker images on the Amazon ECR Public Gallery and the GitHub Container Registry
380
380
if : ${{ github.event_name != 'pull_request' }}
381
381
runs-on : ubuntu-22.04
382
382
strategy :
@@ -396,3 +396,12 @@ jobs:
396
396
- name : Delete untagged Alpine NGINX mainline Docker images on the Amazon ECR Public Gallery
397
397
run : |
398
398
.github/workflows/scripts/delete-untagged-amazon-public-ecr-images.sh
399
+
400
+ - name : Delete untagged Alpine NGINX mainline Docker images on the GitHub Container Registry
401
+ uses : stumpylog/image-cleaner-action/untagged@9255a1b3b8ca44b3e5887e2168155223b277ca1d # v0.5.0
402
+ with :
403
+ is_org : true
404
+ owner : nginxinc
405
+ package_name : nginx-unprivileged
406
+ do_delete : true
407
+ token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -352,7 +352,7 @@ jobs:
352
352
NOTARY_TARGETS_PASSPHRASE : ${{ secrets.DOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASE }}
353
353
354
354
cleanup :
355
- name : Delete untagged Alpine NGINX stable Docker images on the Amazon ECR Public Gallery
355
+ name : Delete untagged Alpine NGINX stable Docker images on the Amazon ECR Public Gallery and the GitHub Container Registry
356
356
if : ${{ github.event_name != 'pull_request' }}
357
357
runs-on : ubuntu-22.04
358
358
strategy :
@@ -372,3 +372,12 @@ jobs:
372
372
- name : Delete untagged Alpine NGINX stable Docker images on the Amazon ECR Public Gallery
373
373
run : |
374
374
.github/workflows/scripts/delete-untagged-amazon-public-ecr-images.sh
375
+
376
+ - name : Delete untagged Alpine NGINX stable Docker images on the GitHub Container Registry
377
+ uses : stumpylog/image-cleaner-action/untagged@9255a1b3b8ca44b3e5887e2168155223b277ca1d # v0.5.0
378
+ with :
379
+ is_org : true
380
+ owner : nginxinc
381
+ package_name : nginx-unprivileged
382
+ do_delete : true
383
+ token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -261,7 +261,7 @@ jobs:
261
261
NOTARY_TARGETS_PASSPHRASE : ${{ secrets.DOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASE }}
262
262
263
263
cleanup :
264
- name : Delete untagged Debian NGINX mainline Docker images on the Amazon ECR Public Gallery
264
+ name : Delete untagged Debian NGINX mainline Docker images on the Amazon ECR Public Gallery and the GitHub Container Registry
265
265
if : ${{ github.event_name != 'pull_request' }}
266
266
runs-on : ubuntu-22.04
267
267
strategy :
@@ -281,3 +281,12 @@ jobs:
281
281
- name : Delete untagged Debian NGINX mainline Docker images on the Amazon ECR Public Gallery
282
282
run : |
283
283
.github/workflows/scripts/delete-untagged-amazon-public-ecr-images.sh
284
+
285
+ - name : Delete untagged Debian NGINX mainline Docker images on the GitHub Container Registry
286
+ uses : stumpylog/image-cleaner-action/untagged@9255a1b3b8ca44b3e5887e2168155223b277ca1d # v0.5.0
287
+ with :
288
+ is_org : true
289
+ owner : nginxinc
290
+ package_name : nginx-unprivileged
291
+ do_delete : true
292
+ token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -245,7 +245,7 @@ jobs:
245
245
NOTARY_TARGETS_PASSPHRASE : ${{ secrets.DOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASE }}
246
246
247
247
cleanup :
248
- name : Delete untagged Debian NGINX stable Docker images on the Amazon ECR Public Gallery
248
+ name : Delete untagged Debian NGINX stable Docker images on the Amazon ECR Public Gallery and the GitHub Container Registry
249
249
if : ${{ github.event_name != 'pull_request' }}
250
250
runs-on : ubuntu-22.04
251
251
strategy :
@@ -265,3 +265,12 @@ jobs:
265
265
- name : Delete untagged Debian NGINX stable Docker images on the Amazon ECR Public Gallery
266
266
run : |
267
267
.github/workflows/scripts/delete-untagged-amazon-public-ecr-images.sh
268
+
269
+ - name : Delete untagged Debian NGINX stable Docker images on the GitHub Container Registry
270
+ uses : stumpylog/image-cleaner-action/untagged@9255a1b3b8ca44b3e5887e2168155223b277ca1d # v0.5.0
271
+ with :
272
+ is_org : true
273
+ owner : nginxinc
274
+ package_name : nginx-unprivileged
275
+ do_delete : true
276
+ token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments