wertzu
Some checks failed
ci/woodpecker/push/build Pipeline failed
ci/woodpecker/push/test/2 unknown status
ci/woodpecker/push/test/1 unknown status
ci/woodpecker/push/lint Pipeline was successful

This commit is contained in:
Stephan Schnabel 2025-06-07 19:57:15 +02:00
parent 7fcec51f77
commit 187841ba12
Signed by: stephan.schnabel
SSH key fingerprint: SHA256:99zuzxNGFb5/5P+E/O7ONU2qhUojUe/D8rIPTW+9Xp0
4 changed files with 14 additions and 6 deletions

View file

@ -1,4 +1,4 @@
#!/usr/local/bin/bash
#!/usr/bin/env bash
set -exu;
env | sort | grep -v DRONE
@ -39,7 +39,7 @@ if [[ "${PLUGIN_PLATFORM:-}" == "true" ]]; then
COMMAND="$COMMAND --opt platform='$PLUGIN_PLATFORM'"
fi
# https://github.com/moby/buildkit/blob/master/README.md#output
if [[ ! -z "${PLUGIN_NAMES:-}" ]]; then
if [[ -n "${PLUGIN_NAMES:-}" ]]; then
COMMAND="$COMMAND --output type=image,name=$PLUGIN_NAMES,push=${PLUGIN_PUSH:-true}"
fi