11/17/2023 0 Comments Bestpokercoach acr pw![]() " works fine from my bash script with no login and I can deploy the resulting image with the command "az webapp create -name $web -resource-group $rg -plan $plan -deployment-container-image-name $/$repo/$image:v1 -s $username -w $password" where $username & $password are the ACR credentials and $repo is the repository called "sample". However, "az acr build -g $rg -image $repo/$image:v1 -registry $registry -file Dockerfile.I tried that URL and did not find anything helpful except a confirmation that the owner (me) should be able to push. So I abandon my bash script and continue with the interactive powershell prompt and after tagging my image I try "docker push $env:/$env:image:latest" and I get "unauthorized: authentication required, visit for more information".Is there a way I can do this from a script? ![]() However, it seems to work when using an interactive prompt (I get "Login Succeeded"). I execute "docker login $" from a bash script and it says "Error: Cannot perform an interactive login from a non TTY device".I'm trying to follow this tutorial to push a custom image to the azure container registry.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |