Hi everyone ,
I have been trying to push image to ACR using the drone acr plugin but it’s not getting pushed even if I provide service principal id and secret. Attached the yaml code for reference .
name: default
image: plugins/acr
settings:
service_principal_client_id:
from_secret: id
service_principal_client_secret:
from_secret: secret
repo: foo/bar
tags:
- ${DRONE_COMMIT_SHA:0:8}
dockerfile: ./Dockerfile
Using the above drone plugin for pushing, but getting this issue
Get "https://azurecr.io/v2/": x509: certificate is valid for *.oneroute.microsoft.com, not azurecr.io
Any idea what could be wrong here?