Added MinIO

This commit is contained in:
2023-04-27 23:18:14 -07:00
parent 0e2ef14a5a
commit a02e1dc69b
15 changed files with 212 additions and 101 deletions

View File

@@ -1,9 +1,8 @@
name: busybox
description: "Run busybox commands."
inputs:
#Note: Passing in "args" overwrites the arguments passed into the container directly.
args:
description: "Shell command to pass into busybox."
description: "Shell arguments to pass into busybox."
required: true
outputs:
console:
@@ -12,4 +11,4 @@ runs:
using: docker
image: Dockerfile
args:
- ${{ inputs.args }}
- ${{ inputs.args }}

View File

@@ -7,9 +7,10 @@ echo "$OUTPUT"
#Output multiline strings.
#https://trstringer.com/github-actions-multiline-strings/
OUTPUT="${OUTPUT//'%'/'%25'}"
OUTPUT="${OUTPUT//$'\n'/'%0A'}"
OUTPUT="${OUTPUT//$'\r'/'%0D'}"
echo "::set-output name=console::$OUTPUT"
if [[ -n "$OUTPUT" ]]; then
echo "console<<EOF" >> "$GITHUB_OUTPUT"
echo "$OUTPUT" >> "$GITHUB_OUTPUT"
echo "EOF" >> "$GITHUB_OUTPUT"
fi
exit $RESULT