HUB
Sign inSign up

technowledgy/kaniko-gitlab

By technowledgy

•Updated about 1 year ago

Image
0

6.0K

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
Recent tags
Content type
Image
Digest
sha256:d1b2f9871…
Size
44.4 MB
Last updated
about 1 year ago
docker pull technowledgy/kaniko-gitlab:latest