Azure / acr

Azure Container Registry samples, troubleshooting tips and references
https://aka.ms/acr
Other
162 stars 106 forks source link

unexpected dockerfile format (build_with_cache2.yaml) #707

Closed jmwoloso closed 10 months ago

jmwoloso commented 10 months ago

Describe the bug This could be a "me" issue, but I'm trying to use the build tasks via yaml and receiving an error about the format of my dockerfile but before then it looks like it is expecting a git repository. This is part of an AZDO build pipeline on our self-hosted build agent where I checkout the source code from our AZDO repos.

Any guidance on the correct syntax and usage for the build_with_cache2.yaml file would be appreciated.

To Reproduce Steps to reproduce the behavior:

  1. Trigger AZDO pipeline with the templates shown above

Expected behavior Build and cache the image in the specified repositories

Screenshots builder.yaml image

AZDO Pipeline Step image

Any relevant environment information

Additional context Add any other context about the problem here.

If any information is a concern to post here, you can create a support ticket or send an email to acrsup@microsoft.com.

jmwoloso commented 10 months ago

thanks for the help.