aboutsummaryrefslogtreecommitdiffstats
path: root/.github/actions/docker-clean-image/action.yml
blob: dfc18d97efaa4fdd36589472d9287d5b28fa5d17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# SPDX-FileCopyrightText: Andrei Gherzan <andrei.gherzan@huawei.com>
#
# SPDX-License-Identifier: MIT

name: "Cleanup docker storage"

inputs:
  docker_image:
    required: true
    description: "The name of the docker image"

runs:
  using: "composite"
  steps:
    - name: Cleanup temporary image
      shell: bash
      run: |
        echo "Cleanup ${{ inputs.docker_image }} image..."
        docker rmi "${{ inputs.docker_image }}" || true