feat(ci): build+push the worker image and register its artifact on release - #23
Merged
Merged
Conversation
…lease Adopts the release-publish-oci chain (same as scopes-lambda): the same run that cuts the version builds the multi-arch worker image, pushes it to public.ecr.aws/nullplatform/scopes/static-files (provisioned in iac-null-runtime#109), registers the oci_image artifact by digest, and finalizes the release with the artifact table. Dockerfile: worker-bridge base + aws-cli/gomplate/OpenTofu 1.10.10 (use_lockfile needs tofu >= 1.10), scope baked at /app/pkg with the bridge pointed at the root entrypoint. Trivy DS-0002 suppressed with the same documented rationale scopes-lambda carries. Requires: secrets AWS_ROLE_ARN_ECR_PUSH (github-actions-scopes-static-files-publisher role) + ARTIFACT_NP_API_KEY, variable NP_ARTIFACT_NRN. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
| @@ -0,0 +1,24 @@ | |||
| # syntax=docker/dockerfile:1 | |||
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.
Image:
public.ecr.aws/nullplatform/scopes/static-files· Role:github-actions-scopes-static-files-publisher· Tooling: aws-cli, gomplate, OpenTofu 1.10.10Adopts 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. ECR repo + publisher role provisioned by Pao in iac-null-runtime#109.Repo configuration:
AWS_ROLE_ARN_ECR_PUSH✅ (Pao) ·ARTIFACT_NP_API_KEY+NP_ARTIFACT_NRNset alongside this PR.🤖 Generated with Claude Code