Skip to content
Snippets Groups Projects
.gitlab-ci.yml 311 B
Newer Older
Lars Seipel's avatar
Lars Seipel committed
build:
  image:
    name: gcr.io/kaniko-project/executor:debug
Lars Seipel's avatar
Lars Seipel committed
  script:
    - |
        for i in "$CI_PROJECT_DIR"/*/Dockerfile; do
          ctxt=$(dirname "$i")
          name=$(basename "$ctxt")
          ./tools/kaniko-build "$i" "$ctxt" "$CI_REGISTRY_IMAGE/$name:latest"
        done