Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 1 | # SPDX-FileCopyrightText: Andrei Gherzan <andrei.gherzan@huawei.com> |
2 | # | ||||
3 | # SPDX-License-Identifier: MIT | ||||
4 | |||||
5 | name: "Cleanup docker storage" | ||||
6 | |||||
7 | inputs: | ||||
8 | docker_image: | ||||
9 | required: true | ||||
10 | description: "The name of the docker image" | ||||
11 | |||||
12 | runs: | ||||
13 | using: "composite" | ||||
14 | steps: | ||||
15 | - name: Cleanup temporary image | ||||
16 | shell: bash | ||||
17 | run: | | ||||
18 | echo "Cleanup ${{ inputs.docker_image }} image..." | ||||
19 | docker rmi "${{ inputs.docker_image }}" || true |