Pushing function image to the registry
The push refers to repository [myrepo.azurecr.io/kn-func-python] (100%)
83d85471d9f8: Preparing (100%)
20e4c1d943b6: Preparing (100%)
126dd5439845: Preparing (100%)
29da934a46fc: Preparing (100%)
b653d1937b4b: Preparing (100%)
46fcc6c6a092: Preparing (100%)
fce641ee9ce0: Preparing (100%)
b2c56340ef82: Preparing (100%)
783e905a53ec: Preparing (100%)
36ec8b35e5ce: Preparing (100%)
73b515a97fed: Preparing (100%)
d7ecef9dcc97: Preparing (100%)
bc7bdf0ec1b9: Preparing (100%)
b2c56340ef82: Waiting (100%)
783e905a53ec: Waiting (100%)
36ec8b35e5ce: Waiting (100%)
bc7bdf0ec1b9: Waiting (100%)
73b515a97fed: Waiting (100%)
d7ecef9dcc97: Waiting (100%)
46fcc6c6a092: Waiting (100%)
fce641ee9ce0: Waiting (100%)
Error: unauthorized: Application not registered with AAD.
----
Can't find out how to configure credentials to kn-func.
Thanks,
Youngwoo
--
You received this message because you are subscribed to the Google Groups "Knative Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to knative-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/knative-users/04bb9f5d-4274-437b-b628-797460c74122n%40googlegroups.com.
$ kn-func build
🙌 Function image built: myrepo.azurecr.io/kn-func-python:latest
$ docker push myrepo.azurecr.io/kn-func-python:latest
......
It works.
And also, I'm not sure #497 is the related issue for using 'kn-func deploy'.
I have no trouble with running knative services using images from ACR for now. I've deployed appropriate secrets for the ACR to kubernetes cluster.
Thanks,
Youngwoo
#Docker login
docker login <your-acr-name-here>.azurecr.io
# In case you need Admin credentials.
Go to your Azure portal, access your Container Registry, click over keys, enable the admin access in case not enabled, copy the user and pass and use in your login.
#Create build
docker build -t myimage/prettyimage:latest
# Add image tag
docker tag myimage/prettyimage:latest <your-acr-name-here>.azurecr.io/myrepo/myimage
# Push image
docker push <your-acr-name-here>.azurecr.io/myrepo/myimage
imagePullSecrets:
- name: acr-pull-secret
It should work nice.
Cheers,
--
You received this message because you are subscribed to the Google Groups "Knative Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to knative-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/knative-users/56e536b7-091e-4b00-a28f-aae0043deb77n%40googlegroups.com.