mirror of
https://forgejo.merr.is/annika/actions-docker-extract.git
synced 2025-12-10 12:13:12 -05:00
25 lines
682 B
YAML
25 lines
682 B
YAML
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:
|
|
using: 'node20'
|
|
main: 'dist/index.js'
|
|
branding:
|
|
icon: 'scissors'
|
|
color: 'blue'
|