Open shyam-ks opened 2 years ago
anchore-cli, version 0.9.2
anchore-cli image add ghcr.io/org/xxx-2.0:831 Error: cannot fetch image digest/manifest from registry HTTP Code: 400 Detail: {'error_codes': ['REGISTRY_PERMISSION_DENIED'], 'raw_exception_message': 'Error encountered in skopeo operation. cmd=/bin/sh -c skopeo inspect --raw --tls-verify=false docker://ghcr.io/org/asset-2.0:831, rc=1, stdout=None, stderr=b\'time="2022-01-17T10:05:20Z" level=fatal msg="Error parsing image name \\"docker://ghcr.io/org/xxx-2.0:831\\": unable to retrieve auth token: invalid username/password: unauthorized"\n\', error_code=REGISTRY_PERMISSION_DENIED'}
anchore-cli registry add ghcr.io/org username token Registry: ghcr.io/org Name: ghcr.io/org User: username Type: docker_v2 Verify TLS: True Created: 2022-01-17T09:59:53Z Updated: 2022-01-17T09:59:53Z
Token has the right permissions but still its giving unauthorized
anchore-cli, version 0.9.2
anchore-cli image add ghcr.io/org/xxx-2.0:831 Error: cannot fetch image digest/manifest from registry HTTP Code: 400 Detail: {'error_codes': ['REGISTRY_PERMISSION_DENIED'], 'raw_exception_message': 'Error encountered in skopeo operation. cmd=/bin/sh -c skopeo inspect --raw --tls-verify=false docker://ghcr.io/org/asset-2.0:831, rc=1, stdout=None, stderr=b\'time="2022-01-17T10:05:20Z" level=fatal msg="Error parsing image name \\"docker://ghcr.io/org/xxx-2.0:831\\": unable to retrieve auth token: invalid username/password: unauthorized"\n\', error_code=REGISTRY_PERMISSION_DENIED'}
anchore-cli registry add ghcr.io/org username token Registry: ghcr.io/org Name: ghcr.io/org User: username Type: docker_v2 Verify TLS: True Created: 2022-01-17T09:59:53Z Updated: 2022-01-17T09:59:53Z
Token has the right permissions but still its giving unauthorized