Question
I followed the guide and added my openshift username and password as secrets in github. Now, when i run the oc-login action it throws an error claiming
Login failed (401 Unauthorized)
Verify you have provided the correct credentials.
Strangely, using the oc login -p "mypassword" -u "myusername" also throws the same error. I can however log in successfully via the web UI.
I am using Openshift Sandbox, hence I cannot switch to a service account.
Any ideas?
Edit: logging in via the command line works by omitting the password, but how do you omit the password for the action? it is not possible to my knowledge
Question
I followed the guide and added my openshift username and password as secrets in github. Now, when i run the oc-login action it throws an error claiming
Login failed (401 Unauthorized)
Verify you have provided the correct credentials.
Strangely, using the
oc login -p "mypassword" -u "myusername"also throws the same error. I can however log in successfully via the web UI.I am using Openshift Sandbox, hence I cannot switch to a service account.
Any ideas?
Edit: logging in via the command line works by omitting the password, but how do you omit the password for the action? it is not possible to my knowledge