mirror of
https://gh.wpcy.net/https://github.com/aspirepress/AspireCloud.git
synced 2026-05-31 00:04:27 +08:00
* chore: switch to manual trigger for build-container-images.yaml * feat: local meta/bin/build-images script
22 lines
310 B
Bash
22 lines
310 B
Bash
# This file should be sourced, not run
|
|
[[ -n $TRACE ]] && [[ $TRACE != 0 ]] && set -x
|
|
|
|
set -o errexit
|
|
|
|
cd $(dirname $0)/../..
|
|
base=$(pwd)
|
|
|
|
function warn {
|
|
echo "$@" >&2
|
|
}
|
|
|
|
function die() {
|
|
warn "$@"
|
|
exit 1
|
|
}
|
|
|
|
function RUN() {
|
|
[[ -n $DRY_RUN ]] && [[ $DRY_RUN != 0 ]] && _run=echo
|
|
$_run "$@"
|
|
}
|
|
|