Migrate Tekton single arch image build to ghcr.io #2221
Labels
Hacktoberfest
Categorizes issue as one for Hacktoberfest 2021
kind/feature
Categorizes issue or PR as related to a new feature.
Feature request
Migrate the single-arch-template pipeline to publish to ghcr.io. This includes updates to any of the cronjobs that use this template to build images.
Note: To be implemented as a separate PR: update references in the
plumbing
repo from gcr.io to ghcr.io once the new images are produced.The pipeline project release pipeline. has been migrated and can provide some insight.
Some key information for the migration:
gcr.io/tekton-releases/dogfooding/<image-name>
ghcr.io/tektoncd/plumbing/<image-name>
tekton/images
#2222Use case
Reduce Cloud Storage / Container Registry Spending: #2157
Additional Info
The template part needs to be updated so that it may work with ghcr.io. The current version works with gcr.io, and unfortunately, it's not enough to change the target registry as authentication works a bit different (for gcr.io we used a service account file, and for ghcr.io we use a PAT), and ghcr.io requires OCI labels to be set
There are three types of builds we do today, which correspond to three separate templates.
This issue covers updating the template and cronjob for single architecture.
The order of implementation should be:
tekton/images
#2222The text was updated successfully, but these errors were encountered: