Skip to content

Instantly share code, notes, and snippets.

@martinkennelly
Created September 12, 2023 09:42
Show Gist options
  • Save martinkennelly/c7192831e6a27de86873abd6bcc12788 to your computer and use it in GitHub Desktop.
Save martinkennelly/c7192831e6a27de86873abd6bcc12788 to your computer and use it in GitHub Desktop.
Building RH container images
# GetOAUTH token
https://oauth-openshift.apps.ci.l2s4.p1.openshiftapps.com/oauth/token/request
# Login with provided link
oc login..
# Login to registry (for podman)
oc registry login --to ~/.config/containers/auth.json
# Login to registry (for docker)
oc registry login --to ~/.docker/config.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment