Quantcast
Channel: How can I push to a repo when CI_JOB_TOKEN doesn't permit it? - DevOps Stack Exchange
Browsing all 3 articles
Browse latest View live

Answer by Evan Carroll for How can I push to a repo when CI_JOB_TOKEN doesn't...

One method to do this is to generate a Project Access Token and store it as a protected environmental variable. You can do this like this,From the project page, add /-/settings/access_tokens to the end...

View Article



How can I push to a repo when CI_JOB_TOKEN doesn't permit it?

Currently, CI_JOB_TOKEN doesn't allow you to push to a repo. When I try I get,remote: You are not allowed to upload code.How can I work around this if I need to push to the repo in the CI?The...

View Article

Answer by stalk3rr for How can I push to a repo when CI_JOB_TOKEN doesn't...

Sorry for long read...You could try that solution:https://docs.gitlab.com/ee/ci/docker/authenticate_registry.html#option-3-use-docker_auth_config.That authentication approach can be defined in several...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images