Sign inSign up

technowledgy/kaniko-gitlab

By technowledgy

•Updated 10 months ago

Image
0

5.9K

technowledgy/kaniko-gitlab repository overview

⁠kaniko-gitlab

GitHub Workflow Status GitHub

Slightly modified kaniko executor docker image to run in GitLab CI. The image contains a helper script gitlab, which adds a config file to connect to the GitLab-provided container registry as described in the GitLab docs⁠.

⁠How to use

# .gitlab-ci.yml
build:
  stage: build
  image:
    name: technowledgy/kaniko-gitlab
  script:
  - gitlab
  - /kaniko/executor --context "${CI_PROJECT_DIR}" -f Dockerfile -d "${CI_REGISTRY_NAME}:${CI_COMMIT_TAG}"
  rules:
  - if: $CI_COMMIT_TAG

Tag summary

Content type

Image

Digest

sha256:d1b2f9871…

Size

44.4 MB

Last updated

10 months ago

docker pull technowledgy/kaniko-gitlab