Closed smurawski closed 10 months ago
Disregard - the build task passes in the image from the build.
It feels a bit odd to have to enter it into the template with the image and tag are generated and supplied in the build making the information prompted for irrelevent.
Describe the bug
When using
draft generate-workflow
, the deployment manifest created bydraft create
is updated based on the ACR specified and container image name supplied, but the tag is not requested and therefore lost when the manifest is rewritten.Mention the platform you are using
Using
draft
CLITo Reproduce
The
./manifests/deployment.yaml
file will be updated and the tag for the image lost.Expected behavior
Ideally, draft would read the existing manifest and default the container registry prompt and image name, as well as offer a prompt for tag with the default of what was in the existing YAML file.
A sufficient result would be achieved if the tag was prompted for and filled in for the deployment.yaml file.
Desktop (please complete the following information):