Now that you have configured GitHub Repository Secrets and understood the GitHub Actions Workflow, we will trigger the CI/CD pipeline to verify that everything is working as expected.
Your CI/CD pipeline is configured to automatically run every time code is pushed to the main branch. To trigger the pipeline, we will make a small change and push it to the repository.
Make a small change:
aws-container-security-workshop project folder on your local machine.fcj\src\static\js\app.js (or any other file, e.g., add a comment to a source code file).v1.0.0 to line 56 in the src\static\js\app.js file.
Push changes to GitHub:
git add .
git commit -m "Trigger CI/CD pipeline for testing"
main branch of your GitHub repository:git push origin main
Immediately after you push code to the main branch, GitHub Actions will automatically detect the change and start running the CI/CD Pipeline workflow you configured.
Now, navigate to GitHub and monitor the pipeline’s progress.
Access GitHub Actions:

View Workflow Status:
CI/CD Pipeline with an In progress or Queued status.
Check Job Steps:
build-and-push job. Click on it to see the specific steps being executed.checkout, configure aws credentials, login to amazon ECR, Automatic Tagging of Releases, and build, tag, and push the image to ECR running sequentially.

After the workflow successfully completes, we need to verify that the expected results have been generated.