diff options
Diffstat (limited to '.scripts.d/20-build.sh')
-rw-r--r-- | .scripts.d/20-build.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.scripts.d/20-build.sh b/.scripts.d/20-build.sh new file mode 100644 index 0000000..6f8beb9 --- /dev/null +++ b/.scripts.d/20-build.sh @@ -0,0 +1,20 @@ +#!/bin/bash +# vim: ai:ts=8:sw=8:noet +set -EeufCo pipefail +export SHELLOPTS # propagate set to children by default +IFS=$'\t\n' + +# check required commands are in place +command -v docker >/dev/null 2>&1 || { + echo 'please install docker-client' + exit 1 +} + +docker buildx build \ + --no-cache \ + --pull \ + --load \ + --tag "chn2guevara/transmission-hacks:${BUILD_ID}" \ + . + + |