add build-and-publish call to the "app" level workflow calls (e.g. cd-api.yml)
Context for reviewers
The staging deploy fails above because both dev and staging try to release the same tag, eg.
tag invalid: The image tag '4b73f7e39ab05c62194ccf3d33bda9f51419495b' already exists in the 'simpler-grants-gov-api' repository and cannot be overwritten because the repository is immutable.
Additional information
Screenshots, GIF demos, code examples or output to help show the changes working as expected.
Summary
Fixes #1919
Time to review: x mins
Changes proposed
check-ecr-image
jobbuild-and-publish
call to the "app" level workflow calls (e.g.cd-api.yml
)Context for reviewers
Additional information