Currently getting the below error when running `pr...
# prefect-azure
h
Currently getting the below error when running
prefect deploy
from a GitHub action.
Copy code
2024-08-28T14:54:39.8060727Z prefect.utilities.dockerutils.PushError: unauthorized: access token has insufficient scopes
Are you automating deployment @Paweł Biernat?
The deployment works fine when run locally but that's not scaleable.
p
Looks like a permission issue, I'm not sure how to fix this, sorry 😞.
h
Thanks for looking!
Fixed this error when deploying to an Azure Container Registry, wishing we had found the guide on Azure Container Instances sooner. Turns out the name property of the DockerImage is not just any old image name, as suggested in the misleading example in the Run flows in Docker containers documentation
name="my_image"
, but the full registry location, as in the guide
name="<registry-name>.<http://azurecr.io/example:latest|azurecr.io/example:latest>"
. Hope this helps any others who come searching!