Skip to content

Add build-push-image yml file#17

Merged
cawohnjing merged 4 commits into1.2.0from
1.1.0
Oct 17, 2025
Merged

Add build-push-image yml file#17
cawohnjing merged 4 commits into1.2.0from
1.1.0

Conversation

@johnyesit
Copy link
Contributor

This pull request introduces a new GitHub Actions workflow to automate building, scanning, tagging, and pushing Docker images to AWS ECR. The workflow also integrates vulnerability scanning and dynamic tagging based on branch and build number.

CI/CD Automation:

  • Added .github/workflows/build-push-image.yml to automate building and pushing Docker images to ECR, including steps for checking out the repository, setting up Docker Buildx, and pushing the image to AWS ECR.
  • Implemented dynamic Docker image tagging based on the current branch and incremented build numbers, and automatically creates and pushes corresponding Git tags.

Security and Quality:

  • Integrated Trivy vulnerability scanning into the workflow, with an option to ignore scan failures via a workflow input parameter.

AWS Integration:

  • Configured OIDC authentication and ECR login using GitHub Actions for secure and automated AWS access.

@johnyesit johnyesit requested a review from cawohnjing October 16, 2025 20:50
@cawohnjing cawohnjing merged commit 49cca74 into 1.2.0 Oct 17, 2025
6 checks passed
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