Azure/container-apps-deploy-action

Support imageToBuild without registry url

abouroubi opened this issue · 3 comments

I'm using ACR to deploy my image, and I use the acrName as a parameter, but in my workflow I don't have the registryUrl only the acrName. But registry url mandatory if I want to specify a custom imageToBuild.

Because I already gave the acrName to the action, I want to only specify <repo>:<tag> part of the imageToBuild without the registryUrl.

@abouroubi Hey there, apologies for the delayed response -- just to make sure I understand the ask: once you provide a value for the acrName argument, let's say mytestacr, you only want to specify everything after that in the imageToBuild argument, so sampleapp:123 rather than mytestacr.azurecr.io/sampleapp:123. Is that correct?

Hello @cormacpayne

Yes it's exactly that.

@abouroubi Thanks for the clarification -- this is a reasonable request and something that we should be able to support in the near future. I'll keep this issue up to date with any updates we may have. Thanks!