Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
7d71ad7865
commit
8d26c861cc
18
scripts/ci:pr.sh
Executable file
18
scripts/ci:pr.sh
Executable file
@ -0,0 +1,18 @@
|
|||||||
|
|
||||||
|
#!/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"
|
Loading…
Reference in New Issue
Block a user