mirror of
https://github.com/dokku/dokku.git
synced 2026-05-18 05:05:46 +02:00
While the majority of buildpacks do not work on non-amd64 platforms, this will at least allow developers the option to choose when to override this setting.
19 lines
501 B
Bash
Executable File
19 lines
501 B
Bash
Executable File
#!/usr/bin/env bash
|
|
source "$PLUGIN_AVAILABLE_PATH/builder-herokuish/internal-functions"
|
|
set -eo pipefail
|
|
[[ $DOKKU_TRACE ]] && set -x
|
|
|
|
trigger-builder-herokuish-builder-herokuish-allowed() {
|
|
declare desc="builder-herokuish builder-herokuish-allowed plugin trigger"
|
|
declare trigger="builder-herokuish-allowed"
|
|
declare APP="$1"
|
|
|
|
if [[ "$(fn-builder-herokuish-computed-allowed "$APP")" != "true" ]]; then
|
|
return 1
|
|
fi
|
|
|
|
return 0
|
|
}
|
|
|
|
trigger-builder-herokuish-builder-herokuish-allowed "$@"
|