Pushing Signed images in Azure Pipeline - Throws couldn't add target to targets/ #556
Replies: 2 comments 4 replies
-
To troubleshoot, I assume you followed the official documentation from the Azure pipeline. What command did you run to produce the above error messages? |
Beta Was this translation helpful? Give feedback.
-
Do we need to initialize every individual created repository in ACR using docker trust signer add command? |
Beta Was this translation helpful? Give feedback.
-
When we try to push signed images as per the documentation from the Azure pipeline, to Azure Container Registry we are facing the following issue :
##[error]time="2021-06-29T10:07:28Z" level=error msg="couldn't add target to targets/zzzzz: could not find necessary signing keys, at least one of these keys must be available: xxxxxxxxxxxxxxxxxxxxxxxxxxxx"
##[error]failed to sign repo/test/pipeline-templates_tests_docker_build_v3:20210629100550.62491.521a451: could not find necessary signing keys, at least one of these keys must be available: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
##[error]The process '/usr/bin/docker' failed with exit code 1
Followed the following steps:
script: |
mkdir -p $(DOCKER_CONFIG)/trust/private
cp
With this set up we are getting the above error.
Can you please help with this issue?
Reference:
Azure DevOps Documentation
Docker Content Trust Documentation
Beta Was this translation helpful? Give feedback.
All reactions