Skip to content

How to get the auth token and username? #3

Open

Description

@deepjyotsingh

I used the Registry secret as password but getting unauthorized error.

Activity

  1. zhu-lingjie commented on Sep 19, 2019

    @zhu-lingjie

    oc whoami -t

    or in one line login
    docker login -u $(oc whoami) -p $(oc whoami -t) registry_url

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions