ci(workshop): add combined deployment image

This commit is contained in:
Thomas Camlong committed 2026-07-14 19:05:13 +02:00
1 parent 89260b8754
commit fd28289f40
39 files changed
+636 -436

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
#!/bin/sh
set -eu
if ! command -v act >/dev/null 2>&1; then
echo "act is required: https://nektosact.com/installation/" >&2
exit 1
fi
socket="${DOCKER_HOST:-}"
if [ -z "$socket" ]; then
socket="$(docker context inspect --format '{{ (index .Endpoints "docker").Host }}' 2>/dev/null || true)"
fi
if [ -z "$socket" ]; then
socket="unix:///var/run/docker.sock"
fi
exec act workflow_dispatch \
--workflows .github/workflows/deployment-workshop.yml \
--job deploy \
--env ACT=true \
--container-daemon-socket "$socket" \
--container-architecture linux/amd64