Skip to content

Build selected refs with private ECR configuration - #2

Closed
GenPage wants to merge 2 commits into
mainfrom
fix/generic-ecr-publishing
Closed

GenPage wants to merge 2 commits into
mainfrom
fix/generic-ecr-publishing

Conversation

@GenPage

@GenPage GenPage commented Oct 2, 2026

Copy link
Copy Markdown
Collaborator

The ECR workflow builds the triggering commit or tag instead of a fixed upstream release. All branch/tag pushes and PR heads build; publishing uses the existing trust for main and v* refs. Main builds use a full-SHA image tag, while release-tag builds use their Git tag. Manual source_ref supports older commits and tags using the packaging from the selected workflow ref.

Account and role configuration now come from Actions secrets. The job masks account-bearing values, validates the registry, disables Docker build summaries and build-record uploads, and records only the source SHA, image tag, and verified digest. README examples no longer contain a concrete registry address.

Validation: actionlint, git diff --check, and ten local behavioral tests passed, including the 36-case event/ref/input matrix, manual source overrides, invalid tags, missing configuration, failed AWS lookups, existing tags, and digest mismatch. Current source compiled as static Linux amd64 and arm64 binaries with Go 1.25.1 and the release Dockerfile's build flags. Docker Desktop is paused, so a container build and live publishing remain unverified.

Repository configuration is prepared: secrets AWS_ACCOUNT_ID and ECR_PUSH_ROLE_ARN; variables AWS_REGION and ECR_REPOSITORY. The workflow is temporarily disabled until this repair is merged. Existing Git history and previous Actions runs require separate cleanup.

@semanticdiff-com

semanticdiff-com Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

Review changes with  SemanticDiff

Changed Files
File Status
  .github/workflows/release-ecr.yml  21% smaller
  Dockerfile.release Unsupported file format
  README.md Unsupported file format

@GenPage

GenPage commented Oct 6, 2026

Copy link
Copy Markdown
Collaborator Author

Superseded by moving the image build into a private repository.

@GenPage GenPage closed this Oct 6, 2026
@GenPage
GenPage deleted the fix/generic-ecr-publishing branch October 6, 2026 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant