8 image: $CI_REGISTRY_IMAGE:ci
10 # build and push Docker image to be used in subsequent steps
14 name: gcr.io/kaniko-project/executor:debug
17 - mkdir -p /kaniko/.docker
18 - echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
19 - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile.ci --destination $CI_REGISTRY_IMAGE:ci --cache=true
65 - export VERS=${CI_COMMIT_REF_NAME}
71 # run tests using the binary built before