wertzu
This commit is contained in:
parent
7fcec51f77
commit
187841ba12
4 changed files with 14 additions and 6 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue