summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 208ed4b223d1705156b77fbe9d8620d6eb8e7d77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
---
stages:
  - build

build:
  stage: build
  image:
    name: gcr.io/kaniko-project/executor:debug
    entrypoint: [""]
  script:
    - echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
    - /kaniko/executor --context ${CI_PROJECT_DIR} --dockerfile Dockerfile --destination ${CI_REGISTRY_IMAGE}:latest