feat(ci): build+push BOTH worker images and register their artifacts - #12
Merged
Conversation
One repo, two services, one chained run: release-please cuts the version once; the release-publish-oci chain builds/pushes/registers services/rds-postgres-server, and a parallel job pair does the same for services/rds-postgres-db against the same tag (both ECR Public repos provisioned in iac-null-runtime#109). The release ends with both artifact tables. Dockerfiles follow the scopes-lambda worker pattern (worker-bridge base, aws-cli/gomplate/OpenTofu 1.10.10); the db image adds postgresql16-client for the psql-driven provisioning scripts. Requires: secrets AWS_ROLE_ARN_ECR_PUSH (github-actions-services-postgresql-rds-publisher role, allowed on both images) + ARTIFACT_NP_API_KEY, variable NP_ARTIFACT_NRN. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
sebasnallar
force-pushed
the
feat/register-release-artifact
branch
from
September 1, 2026 16:36
8582d4b to
a5258c8
Compare
| @@ -0,0 +1,18 @@ | |||
| # syntax=docker/dockerfile:1 | |||
| @@ -0,0 +1,19 @@ | |||
| # syntax=docker/dockerfile:1 | |||
…ation Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
NULLPLATFORM_API_KEY serves a different purpose in these repos; the artifact key is dedicated, same convention as scopes-lambda. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…by design Same documented suppression scopes-lambda carries; the runtime user is the agent's worker-pod securityContext concern, not a Dockerfile USER. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Images:
public.ecr.aws/nullplatform/services/rds-postgres-serverand…/services/rds-postgres-db(one version, two images — the db image addspostgresql16-client) · Role:github-actions-services-postgresql-rds-publisher(allowed on both)Adopts the release-publish-oci chain (same as scopes-lambda): release-please cuts the version and the same run builds the multi-arch worker image, pushes it to ECR Public, registers the
oci_imageartifact by digest, and finalizes the release with the artifact table. The ECR repository + publisher role were provisioned by Pao in iac-null-runtime#109.Dockerfile follows the scopes-lambda worker pattern:
worker-bridgebase, the tooling this service actually calls, service baked at/app/pkgwith the bridge pointed at its entrypoint.Repo configuration required
AWS_ROLE_ARN_ECR_PUSHARTIFACT_NP_API_KEYNP_ARTIFACT_NRNorganization=4🤖 Generated with Claude Code