Add deploy workflow that builds image and dispatches infra bump#17
Conversation
|
Claude finished @koinsaari's task in 2m 8s —— View job Code Review: Add deploy workflowNo blocking issues.
The workflow is well-structured: pinned action SHAs for supply-chain safety, 🟡 Nit 1 — Wrong version comment on
|
08d0ae9 to
f73818f
Compare
|
Claude finished @koinsaari's task in 1m 41s —— View job Code Review: Add deploy workflowNo blocking issues.
The workflow has been significantly rearchitected since the last review pass: instead of cloning The remaining shape is clean: pinned action SHAs, 🟡 Nit 1 — Wrong version comment on
|
f73818f to
4e14a76
Compare
|
Claude finished @koinsaari's task in 1m 36s —— View job Code Review: Add deploy workflowNo blocking issues.
The workflow is in good shape. Both nits from the previous review pass have been addressed: the 🟡 Nit — Wrong version comment on
|
Summary
latest)repository_dispatchevent of typeapi-proxy-bumpatStoganet/infrawith the SHA + digest in the payloadNo SSH, NetBird, host scripts, or file modifications against infra from this repo. The bridge is a single dispatch call.
Prerequisites before this workflow can succeed
INFRA_DISPATCH_TOKENrepo secret on api-proxy: fine-grained PAT scoped toStoganet/infrawithcontents: write(required to firerepository_dispatch)api-proxy-bump.ymlworkflow must be merged in infraapi-proxyservice block must exist ininfra/compose/docker-compose.ymlwith a pinnedghcr.io/stoganet/api-proxy@sha256:...reference (infra's workflow fails fast otherwise)Test plan
build-and-pushproduces a real digest in GHCRtrigger-infra-bumpsuccessfully fires the dispatch (visible in infra's Actions tab as arepository_dispatchrun)INFRA_DISPATCH_TOKENis unsetCloses #15