Skip to content

Slightly modified kaniko docker image to run in GitLab CI

License

Notifications You must be signed in to change notification settings

technowledgy/kaniko-gitlab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Slightly modified kaniko docker image to run in GitLab CI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •