Skip to content
play

GitHub Action

Scora Cleaner GCR

v0.6.0 Latest version

Scora Cleaner GCR

play

Scora Cleaner GCR

Clear untagged images at container registry

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Scora Cleaner GCR

uses: oncase/[email protected]

Learn more about this action in oncase/scora-cleaner-gcr

Choose a version

Scora Cleaner GCR

Clear untagged images in Artifact Registry or Container Registry.

Inputs

Name Description Required Default
registry Where the image is registered false gcr.io
project_id The id of your GCP project true null
image_name The name of the image you want to clean true null

Example usage

- name: Clear untagged images
  uses: oncase/scora-cleaner-gcr@master
  with:
    project_id: ${{ vars.PROJECT_ID }}
    image_name: ${{ vars.IMAGE_NAME }}