cuddle-please/scripts/ci:pr.sh
kjuulh 8d26c861cc
Some checks failed
continuous-integration/drone/push Build is failing
feat(ci): with ci:pr.sh file
Signed-off-by: kjuulh <contact@kjuulh.io>
2023-08-04 01:00:46 +02:00

18 lines
297 B
Bash
Executable File

#!/usr/bin/env bash
set -e
CMD_PREFIX="cargo run -p ci --"
if [[ -n "$CI_PREFIX" ]]; then
CMD_PREFIX="$CI_PREFIX"
fi
$CMD_PREFIX pr \
--mkdocs-image "$MKDOCS_IMAGE" \
--caddy-image "$CADDY_IMAGE" \
--image "$REGISTRY/$SERVICE" \
--tag "main-$(date +%s)" \
--bin-name "$SERVICE"