Pushing Signed images in Azure Pipeline - Throws couldn't add target to targets/ #556
Unanswered
Monishguru
asked this question in
Q&A
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? |
4 replies
|
Do we need to initialize every individual created repository in ACR using docker trust signer add command? |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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
All reactions