kjuulh
0a7a924727
Some checks failed
continuous-integration/drone/push Build is failing
Signed-off-by: kjuulh <contact@kjuulh.io>
20 lines
334 B
Bash
Executable File
20 lines
334 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
CMD_PREFIX="cargo run -p ci --"
|
|
|
|
if [[ -n "$CUDDLE_CI" ]]; then
|
|
CMD_PREFIX="./target/debug/ci"
|
|
fi
|
|
|
|
echo "$PWD"
|
|
|
|
ls target/debug
|
|
|
|
$CMD_PREFIX main \
|
|
--mkdocs-image "$MKDOCS_IMAGE" \
|
|
--caddy-image "$CADDY_IMAGE" \
|
|
--image "$REGISTRY/$SERVICE" \
|
|
--tag "main-$(date +%s)" \
|
|
--bin-name "$SERVICE" |