Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 888 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 888 Bytes

Intercube Docker deploy action

Trigger deployment of the Docker image configured for an Intercube-hosted site. Intercube resolves the current registry digest, deduplicates concurrent requests, deploys it through AWX, checks health, and rolls back automatically when the candidate is unhealthy.

Create or rotate the site-scoped token on the site's Container page and store it as a GitHub Actions secret named INTERCUBE_DEPLOY_TOKEN.

- uses: intercube/docker-deploy@v1
  with:
    token: ${{ secrets.INTERCUBE_DEPLOY_TOKEN }}

The action sends repository, workflow, run, ref, SHA, and actor metadata for the Dashboard event log. To pin an already-known image digest, pass digest: sha256:.... Most pipelines should omit it and let Intercube resolve the configured tag.

Tokens are scoped to one site and can be revoked immediately by rotating them in the Dashboard.