GHCR publishing¶
OpenIdentityStack publishes Linux container images to GitHub Container Registry from the Release workflow.
Images¶
The workflow publishes these images:
| Component | Image |
|---|---|
| API | ghcr.io/tjeerd-menno/open-identity-stack-api:<version> |
| DbMigrator | ghcr.io/tjeerd-menno/open-identity-stack-db-migrator:<version> |
| Management Web | ghcr.io/tjeerd-menno/open-identity-stack-management-web:<version> |
Each image also receives a sha-<commit> tag. The workflow emits build provenance attestations for the published images.
Triggers¶
The workflow runs on:
- SemVer-like tags matching
v*.*.*. - Manual dispatch with a required
versioninput.
Use immutable SemVer or prerelease tags, for example:
git tag v0.1.0-rc.1
git push origin v0.1.0-rc.1
Or run the workflow manually and provide v0.1.0-rc.1 as the version.
Permissions¶
The workflow uses GITHUB_TOKEN with:
packages: writefor GHCR pushes.contents: writefor GitHub release assets.attestations: writeandid-token: writefor provenance attestations.
Repository package settings must allow GitHub Actions to publish packages.