cuddle-please/scripts/ci:release.sh
kjuulh d64a1d15dc
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
feat(ci): with dagger-rust components
Signed-off-by: kjuulh <contact@kjuulh.io>
2023-08-13 14:10:40 +02:00

17 lines
295 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 release \
--mkdocs-image "$MKDOCS_IMAGE" \
--caddy-image "$CADDY_IMAGE" \
--image "$REGISTRY/$SERVICE" \
--tag "$DRONE_TAG" \
--bin-name "$SERVICE"