Skip to content

Comments

feat: add promote-image-ecr#1417

Open
kdihalas wants to merge 5 commits intomainfrom
feat/promotion-action
Open

feat: add promote-image-ecr#1417
kdihalas wants to merge 5 commits intomainfrom
feat/promotion-action

Conversation

@kdihalas
Copy link
Contributor

This pull request introduces a new GitHub Action for promoting Docker images between Amazon ECR registries using skopeo, with robust support for both single and multiple images, secure credential management, and comprehensive promotion result reporting. The action is fully documented and includes all necessary configuration and usage instructions.

Key changes:

1. New Promote Image Action Implementation

  • Added a composite GitHub Action (action.yaml) that automates copying images between ECR registries, supports both single and multiple image promotions (via matrix or JSON array), and handles secure AWS credential management by assuming IAM roles for source and destination. The action also generates detailed promotion summaries in both Markdown and JSON, uploads them as artifacts, and displays summaries on the Actions summary page.

2. Documentation

  • Added a comprehensive README.md with usage instructions, input parameters, prerequisites, example workflows (including matrix and parallel strategies), multi-architecture support, result reporting, troubleshooting, and notes for best practices.

3. Project Metadata

  • Added a package.json file to define the action's metadata, including name, version, author, and repository information.

@kdihalas kdihalas requested a review from a team as a code owner February 18, 2026 14:27
Copy link
Contributor

@github-advanced-security github-advanced-security bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CodeQL found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.

@github-actions
Copy link
Contributor

👋 kdihalas, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

@kdihalas kdihalas force-pushed the feat/promotion-action branch from 37d8f68 to 639348f Compare February 18, 2026 14:45
@kdihalas kdihalas force-pushed the feat/promotion-action branch from 639348f to 5a68e54 Compare February 18, 2026 14:47
@kdihalas kdihalas force-pushed the feat/promotion-action branch from 7e36108 to b3004b6 Compare February 18, 2026 15:29
@kdihalas kdihalas force-pushed the feat/promotion-action branch from b3004b6 to 6cdcbca Compare February 18, 2026 15:30
Copy link
Collaborator

@chainchad chainchad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, looks great. Left some comments for some minor things.

@kdihalas kdihalas requested a review from chainchad February 19, 2026 14:56
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.

2 participants