Skip to content

Jaland/push-image-tekton-pipeline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Deploy to Source Code to a Container Repository with Tekton Pipeline

Intro

A basic tkn pipeline that uses s2i to build a container image and pushes it to a Docker repository

helm upgrade -i test . --set git.url=<GIT URL> --set git.branch=main --set imageCredentials.password=<QUAY PASSWORD> --set imageCredentials.username=<QUAY USERNAME>

IMPORTANT

If you are using a shared namespace make sure you understand pull secrets

Any credentials you push will be accessable by other people who share that repository, this is for demo purposes only.


Parameters

Parameter Description
git.url Url of git repo
git.branch Repo's branch
image.name Image name
image.tag Image Tag
image.url Image Url (Created automatically base on credentials and name/tag)
imageCredentials.registry Registry url (i.e. quay.io)
imageCredentials.username Username for the registry
imageCredentials.password Password for the registry

Kubernetes Resources Created

  • Pipeline
  • Git Pipeline Resource (Source)
  • Image Pipeline Resource (Destination)
  • Pipeline Task
  • Pipeline Run
  • Pull Secret

About

A tekton pipeline designed to push images to a container repository

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages