actions-docker-extract/action.yml

26 lines
682 B
YAML
Raw Normal View History

name: 'Docker Extract'
description: 'Extract file(s) from a Docker Image'
author: 'Samuel Ryan <sam@samryan.co.uk>'
inputs:
image:
description: 'Docker Image to extract files from'
required: true
path:
description: 'Path (from root) to a file or directory within Image'
required: true
destination:
description: 'Destination path for the extracted files'
required: false
shell_command:
description: 'The shell command to execute, defaults to `/bin/bash -c`'
required: false
outputs:
destination:
description: 'Destination of extracted file(s)'
runs:
2023-09-12 23:21:29 +02:00
using: 'node20'
main: 'dist/index.js'
branding:
icon: 'scissors'
color: 'blue'