main
quay-deployment
A Gitea Actions composite action that triggers a deployment on a Quay instance via its API.
Usage
- uses: https://git.fish/quay/quay-deployment@v1
with:
BASE_URL: ${{ vars.QUAY_BASE_URL }}
SITE_ID: ${{ vars.QUAY_SITE_ID }}
DEPLOY_TOKEN: ${{ secrets.QUAY_DEPLOY_TOKEN }}
Inputs
| Input | Required | Description |
|---|---|---|
BASE_URL |
Yes | Base URL of your Quay instance (e.g. https://quay.example.com) |
SITE_ID |
Yes | UUID of the site to deploy |
DEPLOY_TOKEN |
Yes | Deploy token for the site |
You get the site ID and deploy token when creating the site in Quay.
How it works
The action sends a POST request to {BASE_URL}/api/v1/deploy?site={SITE_ID} with the provided deploy token. If the response status is outside the 2xx range, the action fails and prints the response body.
Notes
BASE_URLcan be provided with or without a trailing slash, and with or without a protocol prefix.https://is assumed if no protocol is given.- Store
DEPLOY_TOKENas an encrypted secret, not a plain variable.
License
MIT