Skip to content

GitLab Next

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 43,133
    • Issues 43,133
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1,369
    • Merge requests 1,369
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

GitLab 15.0 has launched! Please visit Breaking changes in 15.0 and 15.0 Removals to see which breaking changes may impact your workflow.

  • GitLab.org
  • GitLabGitLab
  • Issues
  • #19211
Closed
Open
Created Aug 22, 2017 by ichbinderhannes@chbndrhnns

Push to gitlab.com registry gives 'access denied'

Summary

After following the steps to login to the gitlab.com registry and building/tagging an image, pushing to with the supplied command results in an error:

docker push registry.gitlab.com/chbndrhnns/registry-fail
The push refers to a repository [registry.gitlab.com/chbndrhnns/registry-fail]
6b4f7ac117fb: Preparing
1b779a271cfa: Preparing
f3ebc68b641b: Preparing
5f70bf18a086: Preparing
63afa62a9d90: Preparing
denied: requested access to the resource is denied

Directly related to https://gitlab.com/gitlab-org/gitlab-ce/issues/23339

Steps to reproduce

  • login to Gitlab.com registry
docker login registry.gitlab.com -u chbndrhnns
Password:
Login Succeeded
  • follow steps on https://gitlab.com/chbndrhnns/registry-fail/container_registry
docker build -t registry.gitlab.com/chbndrhnns/registry-fail .
docker push registry.gitlab.com/chbndrhnns/registry-fail

Example Project

https://gitlab.com/chbndrhnns/registry-fail/container_registry

What is the current bug behavior?

Access denied error

What is the expected correct behavior?

Upload happens

Relevant logs and/or screenshots

This bug happens on GitLab.com

Edited Aug 22, 2017 by ichbinderhannes
Assignee
Assign to
Time tracking