Try to use GitLab access token for pushing

This commit is contained in:
Sven-Hendrik Haase 2020-10-20 02:48:55 +02:00
parent d525b6da10
commit d5681dcb99
No known key found for this signature in database
GPG Key ID: 39E4B877E62EB915

View File

@ -119,6 +119,8 @@ image:base:secure:
- schedules
except:
- tags
before_script:
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$GITLAB_PROJECT_USER\",\"password\":\"$GITLAB_PROJECT_TOKEN\"}}}" > /kaniko/.docker/config.json
script:
- /kaniko/executor
--whitelist-var-run="false"
@ -136,6 +138,8 @@ image:base-devel:secure:
- schedules
except:
- tags
before_script:
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$GITLAB_PROJECT_USER\",\"password\":\"$GITLAB_PROJECT_TOKEN\"}}}" > /kaniko/.docker/config.json
script:
- /kaniko/executor
--whitelist-var-run="false"