Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion skills/zeabur-update-service/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: zeabur-update-service
description: Use when modifying service config without full redeploy. Use when updating env vars and restarting single service. Use when user says "change env var", "update config", or "fix variable without redeploying".
description: Use when modifying service config without full redeploy. Use when updating env vars and restarting single service. Use when user says "change env var", "update config", "fix variable without redeploying", "upgrade service version", "update image tag", or "change service tag".
---

# Zeabur Update Service Without Redeploy
Expand Down Expand Up @@ -33,11 +33,26 @@ npx zeabur@latest service restart --id <service-id> -y -i=false
| `${VAR}` references | Set in Dashboard, not CLI (shell expands to empty) |
| `variable update` clears vars | Use `variable create` instead |

## Update Image Tag (Upgrade Service Version)

For prebuilt/marketplace services, update the image tag to upgrade:

```bash
# 1. Get service ID
npx zeabur@latest service list --project-id <project-id> -i=false

# 2. Update tag (triggers redeploy automatically)
npx zeabur@latest service update tag --id <service-id> -t <new-tag> -y -i=false
```

> **Note:** This triggers a new deployment with the updated image. The service will restart.

## When to Use

- Fix environment variable typos
- Add missing config
- Change ports, URLs, credentials
- Upgrade a prebuilt service to a newer version
- **No need to redeploy entire template**

## See Also
Expand Down