From 648e0259c88e9b39b6090a0f0b58726ca544a18a Mon Sep 17 00:00:00 2001 From: Sven-Hendrik Haase Date: Sun, 1 Nov 2020 23:43:42 +0100 Subject: [PATCH] Rename variables to be more explicit --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0c4eedf..1c5336f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -125,7 +125,7 @@ image:publish:secure: matrix: - GROUP: [base, base-devel] before_script: - - echo "{\"auths\":{\"https://index.docker.io/v1/\":{\"username\":\"$DOCKER_USERNAME\",\"password\":\"$DOCKER_ACCESS_TOKEN\"}}}" > /kaniko/.docker/config.json + - echo "{\"auths\":{\"https://index.docker.io/v1/\":{\"username\":\"$DOCKERHUB_USERNAME\",\"password\":\"$DOCKERHUB_ACCESS_TOKEN\"}}}" > /kaniko/.docker/config.json script: - /kaniko/executor --whitelist-var-run="false" @@ -244,7 +244,7 @@ publish: only: - tags before_script: - - echo $DOCKER_ACCESS_TOKEN | crane auth login -u $DOCKER_USERNAME --password-stdin index.docker.io + - echo $DOCKERHUB_ACCESS_TOKEN | crane auth login -u $DOCKERHUB_USERNAME --password-stdin index.docker.io script: - crane tag archlinux/archlinux:base-$BUILD_VERSION base - crane tag archlinux/archlinux:base-$BUILD_VERSION latest