fix: pipe Portainer redeploy script to Alpine via stdin #20
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/cicd_improvements"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The previous fix used a bind mount (
-v /tmp/portainer-redeploy.sh:...) but the runner steps execute inside a Docker container — so/tmpis the runner container's filesystem, not the host's. The Docker daemon on the host can't find the file.Fix: use
docker run -i ... alpine sh << 'EOF'to pipe the script directly into the container via stdin. No file on disk needed.Test plan
🤖 Generated with Claude Code