kjuulh
e669434620
Some checks failed
continuous-integration/drone/push Build is failing
Signed-off-by: kjuulh <contact@kjuulh.io>
16 lines
304 B
Bash
Executable File
16 lines
304 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
|
|
|
|
$CMD_PREFIX main \
|
|
--mkdocs-image "$MKDOCS_IMAGE" \
|
|
--caddy-image "$CADDY_IMAGE" \
|
|
--image "$REGISTRY/$SERVICE" \
|
|
--tag "main-$(date +%s)" \
|
|
--bin-name "$SERVICE" |