mirror of
https://gitlab.archlinux.org/archlinux/archlinux-docker.git
synced 2026-05-04 21:36:18 +02:00
Try to use GitLab access token for pushing
This commit is contained in:
parent
d525b6da10
commit
d5681dcb99
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user