ci: publish image to GHCR on main via molecule-ci reusable workflow
Adds a one-line caller for the publish-template-image.yml reusable workflow in molecule-ci. On every push to main, this repo's Dockerfile is now built and pushed to ghcr.io/molecule-ai/workspace-template-crewai:latest (plus a per-commit sha tag). Closes the gap where template changes required a manual tenant-side rebuild. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
b996389183
commit
0725437c08
20
.github/workflows/publish-image.yml
vendored
Normal file
20
.github/workflows/publish-image.yml
vendored
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
name: publish-image
|
||||||
|
|
||||||
|
# Builds this workspace template's Dockerfile and pushes it to GHCR as
|
||||||
|
# `ghcr.io/molecule-ai/workspace-template-<runtime>:latest` + `:sha-<7>`.
|
||||||
|
# The heavy lifting lives in the reusable workflow in molecule-ci —
|
||||||
|
# change it there if the publish pattern needs to evolve.
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
packages: write
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
publish:
|
||||||
|
uses: Molecule-AI/molecule-ci/.github/workflows/publish-template-image.yml@main
|
||||||
|
secrets: inherit
|
||||||
Loading…
Reference in New Issue
Block a user