Prerequisites
- An application already deployed on the Magic Containers platform
- A GitHub repository containing a Dockerfile or valid build context
- Container registry credentials (use
GITHUB_TOKENfor GitHub Container Registry, or personal access tokens for DockerHub)
Quickstart
Add a step to your GitHub Actions workflow with the following inputs:app_id, api_key, container, and image_tag. This triggers a rolling update whenever a new image is built and pushed.
Inputs
| Input | Required | Description |
|---|---|---|
app_id | Yes | The App ID for your Magic Containers application |
api_key | Yes | The API Key for your Bunny account (sub-user accounts not supported) |
container | Yes | The name of the container within the application |
image_tag | Yes | The new image tag |