Last active
September 27, 2019 17:18
-
-
Save brandoncox/6e7d1243340953a047227b0150f0bba2 to your computer and use it in GitHub Desktop.
build/deploy/push OCP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker build -t something/image . | |
docker tag something/image docker-registry.default.svc:5000/something/image | |
docker login -u <usr> -p $(oc whoami -t) docker-registry.default.svc:5000 | |
docker push docker-registry.default.svc:5000/something/image | |
## IF CERT ERROR ON LOGIN | |
https://access.redhat.com/solutions/3654811 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment