Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

Delete docker image



  • When calling HTTP DELETE https://proget-url/v2/docker/<repository>/manifests/sha256:a70976d047a23f8c53fd03e2cb5367de239552aa7514a18eb4201053389c0ccb with basic auth "api:myapikey" I get the following error:

    {
        "errors": [
            {
                "code": "UNAUTHORIZED",
                "message": "Anonymous is not permitted to perform the Feeds_DeletePackage task for the current scope.",
                "detail": [
                    {
                        "Type": "repository",
                        "Name": "<repository>",
                        "Action": "push"
                    }
                ]
            }
        ]
    }
    

    This was working some time ago. Am I doing something wrong?


  • inedo-engineer

    Hello,

    The Docker API is supposed to only support based bearer authentication, but in previous versions (v5) it also worked with Basic auth.

    There's a sample script on this page that shows how you can authenticate:
    https://docs.inedo.com/docs/proget-docker-semantic-versioning

    Cheers,
    Alana


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation