Skip to content

Fixed deploy step#193

Merged
sfreeman422 merged 1 commit intomasterfrom
fix/deploy
Mar 22, 2026
Merged

Fixed deploy step#193
sfreeman422 merged 1 commit intomasterfrom
fix/deploy

Conversation

@sfreeman422
Copy link
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings March 22, 2026 16:51
@sfreeman422 sfreeman422 merged commit 73eb5ec into master Mar 22, 2026
3 checks passed
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adjusts the GitHub Actions deploy workflow’s remote “tear down” step during Linode deployment.

Changes:

  • Updates the docker stop/docker rm target in the deploy script.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +62 to +63
docker stop ghcr.io/dev-chat/muzzle:latest 2>/dev/null || true
docker rm ghcr.io/dev-chat/muzzle:latest 2>/dev/null || true
Copy link

Copilot AI Mar 22, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

docker stop/docker rm expect a container name/ID, but the workflow now passes an image reference (ghcr.io/dev-chat/muzzle:latest). Since image refs can’t be container names (they include / and :), these commands will be no-ops (stderr is suppressed) and the old container may keep running, causing conflicts when start-muzzle.sh starts the new one. Use a stable container name (e.g. muzzle, matching whatever start-muzzle.sh uses) or resolve the container ID via docker ps (e.g. filter by --filter name=... or --filter ancestor="$IMAGE"). Also avoid hardcoding dev-chat; reuse the existing $IMAGE variable or ${{ github.repository_owner }} for consistency.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants