1 # SPDX-FileCopyrightText: (C) Eric S. Raymond
2 # SPDX-License-Identifier: BSD-2-Clause
10 image: $CI_REGISTRY_IMAGE:ci
12 # build and push Docker image to be used in subsequent steps
16 name: gcr.io/kaniko-project/executor:debug
19 - mkdir -p /kaniko/.docker
20 - echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
21 - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile.ci --destination $CI_REGISTRY_IMAGE:ci --cache=true
67 - export VERS=${CI_COMMIT_REF_NAME}
73 # run tests using the binary built before