You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bug: The image tag '20250903.2.preview-fixfetch-url-from-single-property' already exists in the 'deployments-prod/proj_xwogefywkyuvxmapdkll' repository and cannot be overwritten because the tag is immutable. #2473
Error: unexpected status code: 400 Bad Request {"errors":[{"code":"TAG_INVALID","message":"The image tag '20250903.2.preview-fixfetch-url-from-single-property' already exists in the 'deployments-prod/proj_xwogefywkyuvxmapdkll' repository and cannot be overwritten because the tag is immutable."}]}
I've tried to change my package with:
# Trigger.dev only rebuilds/pushes when the trigger app changes. If you retry a deploy with an identical tree, it may reuse the exact same computed tag → ECR rejects it (immutable).
# Get the directory where this script is located
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# Navigate to the project root (parent of scripts directory)
PROJECT_ROOT="$(dirname "$SCRIPT_DIR")"
# Navigate to the trigger.dev package directory
TRIGGER_DIR="$PROJECT_ROOT/packages/trigger.dev"
echo "🔧 Creating deploy nonce in: $TRIGGER_DIR/.deploy-nonce"
echo "$(date -u +%Y%m%dT%H%M%S)" > "$TRIGGER_DIR/.deploy-nonce"
But I think what happens is that if you archive the preview branch and then re-push to the same branch, the numbering system starts again?
Do we need to change the date 20250903 to include time?
Reproduction repo
Difficult to setup
To reproduce
Deploy to a preview branch
Archive that preview branch
Redeploy to that preview branch (using the eu-central-1)