Skip to content

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

@sandeeptf

Description

@sandeeptf

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions