diff options
author | Christian Segundo | 2024-07-23 21:43:05 +0200 |
---|---|---|
committer | Christian Segundo | 2024-07-23 21:43:05 +0200 |
commit | 362af4e16d7cdfa1512a6f2f154f055907b4d900 (patch) | |
tree | f0e8817df1cad49bd466c60016cdd8b70913690c /.scripts.d/20-build.sh | |
parent | 076b6aefd5b17cccc34cc403b7b4f2ba4f093a57 (diff) | |
download | transmission-hacks-362af4e16d7cdfa1512a6f2f154f055907b4d900.tar.gz |
add ci
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}" \ + . + + |