Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image URI not passing between build and deploy jobs in GitHub Actions ECS workflow #366

Open
sandeeptf opened this issue Jan 28, 2025 · 0 comments

Comments

@sandeeptf
Copy link

sandeeptf commented Jan 28, 2025

Issue Description

The image URI is not being passed correctly between the build and deploy jobs in our ECS deployment workflow. While the image is successfully built and pushed in the build job, the deploy job receives an empty image URI.

Current Behavior

  • Build job successfully creates and pushes image with URI format: [account-id].dkr.ecr.[region].amazonaws.com/[repository]:mysql-latest-[timestamp]
  • Build job output shows correct image URI: ***.dkr.ecr.us-east-1.amazonaws.com/***-ecr:mysql-latest-20250128065643
  • Deploy job receives empty image URI, causing deployment to fail

Expected Behavior

  • Deploy job should receive the complete image URI from the build job
  • Task definition should be updated with the correct image URI
  • Deployment should proceed with the newly built image
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

No branches or pull requests

1 participant