Skip to content

Commit

Permalink
Switch container images from gcr.io to ghcr.io
Browse files Browse the repository at this point in the history
Replace all references to images on gcr.io with the corresponding
copy on ghcr.io. The target images are identical to the source ones,
so there is no functional change in tasks or stepaction.

This PR changes old versions of tasks too and no new version is
created, which should make it easier for people to start pulling
from ghcr.io instead of gcr.io.

Signed-off-by: Andrea Frittoli <[email protected]>
  • Loading branch information
afrittoli committed Dec 18, 2024
1 parent cbc42eb commit ea27d33
Show file tree
Hide file tree
Showing 29 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion stepaction/git-clone/0.1/git-clone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ spec:
- name: gitInitImage
description: The image providing the git-init binary that this StepAction runs.
type: string
default: "gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/git-init:v0.40.2"
default: "ghcr.io/tektoncd/github.com/tektoncd/pipeline/cmd/git-init:v0.40.2"
- name: userHome
description: |
Absolute path to the user's home directory.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
- name: TKN_IMAGE
type: string
description: tkn CLI container image to run this stepaction
default: gcr.io/tekton-releases/dogfooding/tkn@sha256:79d21abf8a29128ede5091773078d5d8528f47240e455adb9824222d2fff489a
default: ghcr.io/tektoncd/plumbing/tkn@sha256:79d21abf8a29128ede5091773078d5d8528f47240e455adb9824222d2fff489a
- name: REGISTRY
type: string
description: The registry where bundles are published to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
- name: TKN_IMAGE
type: string
description: tkn CLI container image to run this stepaction
default: gcr.io/tekton-releases/dogfooding/tkn@sha256:328b4a98eb566ccad4aafcd7fb8307a97c5771e681d85bda669e21e37c071a81
default: ghcr.io/tektoncd/plumbing/tkn@sha256:328b4a98eb566ccad4aafcd7fb8307a97c5771e681d85bda669e21e37c071a81
- name: TKN_ARGS
description: Extra args to be passed to tkn, as a single string
default: ""
Expand Down
2 changes: 1 addition & 1 deletion task/codecov/0.1/codecov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ spec:

steps:
- name: codecov-run
image: gcr.io/tekton-releases/dogfooding/test-runner@sha256:44aa00796831a4ed5586152058dd96a6d14174b8a4ea9fcae663fb37f72c9454
image: ghcr.io/tektoncd/plumbing/test-runner@sha256:44aa00796831a4ed5586152058dd96a6d14174b8a4ea9fcae663fb37f72c9454
workingDir: $(workspaces.source.path)
env:
- name: CODECOV_TOKEN
Expand Down
2 changes: 1 addition & 1 deletion task/git-batch-merge/0.1/git-batch-merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ spec:
description: The git tree SHA that was obtained after batching all provided refs onto revision.
steps:
- name: clone
image: gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/git-init:v0.14.2
image: ghcr.io/tektoncd/github.com/tektoncd/pipeline/cmd/git-init:v0.14.2
script: |
CHECKOUT_DIR="$(workspaces.output.path)/$(params.subdirectory)"
Expand Down
2 changes: 1 addition & 1 deletion task/git-batch-merge/0.2/git-batch-merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ spec:
default: "false"
- name: gitInitImage
description: The image used where the git-init binary is.
default: "gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/git-init:v0.18.1"
default: "ghcr.io/tektoncd/github.com/tektoncd/pipeline/cmd/git-init:v0.18.1"
type: string
results:
- name: commit
Expand Down
2 changes: 1 addition & 1 deletion task/git-clone/0.1/git-clone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ spec:
default: ""
- name: gitInitImage
description: The image used where the git-init binary is.
default: "gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/git-init:v0.15.2"
default: "ghcr.io/tektoncd/github.com/tektoncd/pipeline/cmd/git-init:v0.15.2"
type: string
- name: userHome
description: |
Expand Down
2 changes: 1 addition & 1 deletion task/git-clone/0.2/git-clone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ spec:
- name: gitInitImage
description: the image used where the git-init binary is
type: string
default: "gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/git-init:v0.18.1"
default: "ghcr.io/tektoncd/github.com/tektoncd/pipeline/cmd/git-init:v0.18.1"
results:
- name: commit
description: The precise commit SHA that was fetched by this Task
Expand Down
2 changes: 1 addition & 1 deletion task/git-clone/0.3/git-clone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ spec:
- name: gitInitImage
description: the image used where the git-init binary is
type: string
default: "gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/git-init:v0.21.0"
default: "ghcr.io/tektoncd/github.com/tektoncd/pipeline/cmd/git-init:v0.21.0"
results:
- name: commit
description: The precise commit SHA that was fetched by this Task
Expand Down
2 changes: 1 addition & 1 deletion task/git-clone/0.4/git-clone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ spec:
- name: gitInitImage
description: The image providing the git-init binary that this Task runs.
type: string
default: "gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/git-init:v0.21.0"
default: "ghcr.io/tektoncd/github.com/tektoncd/pipeline/cmd/git-init:v0.21.0"
- name: userHome
description: |
Absolute path to the user's home directory. Set this explicitly if you are running the image as a non-root user or have overridden
Expand Down
2 changes: 1 addition & 1 deletion task/git-clone/0.5/git-clone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ spec:
- name: gitInitImage
description: The image providing the git-init binary that this Task runs.
type: string
default: "gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/git-init:v0.21.0"
default: "ghcr.io/tektoncd/github.com/tektoncd/pipeline/cmd/git-init:v0.21.0"
- name: userHome
description: |
Absolute path to the user's home directory. Set this explicitly if you are running the image as a non-root user or have overridden
Expand Down
2 changes: 1 addition & 1 deletion task/git-clone/0.6/git-clone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ spec:
- name: gitInitImage
description: The image providing the git-init binary that this Task runs.
type: string
default: "gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/git-init:v0.29.0"
default: "ghcr.io/tektoncd/github.com/tektoncd/pipeline/cmd/git-init:v0.29.0"
- name: userHome
description: |
Absolute path to the user's home directory. Set this explicitly if you are running the image as a non-root user or have overridden
Expand Down
2 changes: 1 addition & 1 deletion task/git-clone/0.7/git-clone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ spec:
- name: gitInitImage
description: The image providing the git-init binary that this Task runs.
type: string
default: "gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/git-init:v0.29.0"
default: "ghcr.io/tektoncd/github.com/tektoncd/pipeline/cmd/git-init:v0.29.0"
- name: userHome
description: |
Absolute path to the user's home directory. Set this explicitly if you are running the image as a non-root user or have overridden
Expand Down
2 changes: 1 addition & 1 deletion task/git-clone/0.8/git-clone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ spec:
- name: gitInitImage
description: The image providing the git-init binary that this Task runs.
type: string
default: "gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/git-init:v0.29.0"
default: "ghcr.io/tektoncd/github.com/tektoncd/pipeline/cmd/git-init:v0.29.0"
- name: userHome
description: |
Absolute path to the user's home directory.
Expand Down
2 changes: 1 addition & 1 deletion task/git-clone/0.9/git-clone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ spec:
- name: gitInitImage
description: The image providing the git-init binary that this Task runs.
type: string
default: "gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/git-init:v0.40.2"
default: "ghcr.io/tektoncd/github.com/tektoncd/pipeline/cmd/git-init:v0.40.2"
- name: userHome
description: |
Absolute path to the user's home directory.
Expand Down
2 changes: 1 addition & 1 deletion task/grype/0.1/tests/run-daemon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
params:
- name: ARGS
value:
- gcr.io/tekton-releases/dogfooding/tkn
- ghcr.io/tektoncd/plumbing/tkn
pipelineRef:
name: pipeline-grype-test-daemon
timeout: 10m
2 changes: 1 addition & 1 deletion task/kaniko/0.1/kaniko.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ spec:
runAsUser: 0
- name: write-digest
workingDir: $(workspaces.source.path)
image: gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/imagedigestexporter:v0.16.2
image: ghcr.io/tektoncd/github.com/tektoncd/pipeline/cmd/imagedigestexporter:v0.16.2
# output of imagedigestexport [{"key":"digest","value":"sha256:eed29..660","resourceRef":{"name":"myrepo/myimage"}}]
command: ["/ko-app/imagedigestexporter"]
args:
Expand Down
2 changes: 1 addition & 1 deletion task/kaniko/0.2/kaniko.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ spec:
runAsUser: 0
- name: write-digest
workingDir: $(workspaces.source.path)
image: gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/imagedigestexporter:v0.16.2
image: ghcr.io/tektoncd/github.com/tektoncd/pipeline/cmd/imagedigestexporter:v0.16.2
# output of imagedigestexport [{"key":"digest","value":"sha256:eed29..660","resourceRef":{"name":"myrepo/myimage"}}]
command: ["/ko-app/imagedigestexporter"]
args:
Expand Down
2 changes: 1 addition & 1 deletion task/kaniko/0.3/kaniko.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ spec:
runAsUser: 0
- name: write-digest
workingDir: $(workspaces.source.path)
image: gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/imagedigestexporter:v0.16.2
image: ghcr.io/tektoncd/github.com/tektoncd/pipeline/cmd/imagedigestexporter:v0.16.2
# output of imagedigestexport [{"key":"digest","value":"sha256:eed29..660","resourceRef":{"name":"myrepo/myimage"}}]
command: ["/ko-app/imagedigestexporter"]
args:
Expand Down
2 changes: 1 addition & 1 deletion task/kaniko/0.4/kaniko.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ spec:
runAsUser: 0
- name: write-digest
workingDir: $(workspaces.source.path)
image: gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/imagedigestexporter:v0.18.0
image: ghcr.io/tektoncd/github.com/tektoncd/pipeline/cmd/imagedigestexporter:v0.18.0
# output of imagedigestexport [{"key":"digest","value":"sha256:eed29..660","resourceRef":{"name":"myrepo/myimage"}}]
command: ["/ko-app/imagedigestexporter"]
args:
Expand Down
2 changes: 1 addition & 1 deletion task/kind/0.1/tests/run.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
- name: command
value: ["$(workspaces.source.path)/test.sh"]
- name: image
value: gcr.io/tekton-releases/dogfooding/kind-runner@sha256:bfe11e36d3d44ac89e5e9b39382c9b3638f5a3fedc3dc45b54ade8bb0248286d
value: ghcr.io/tektoncd/plumbing/kind-runner@sha256:bfe11e36d3d44ac89e5e9b39382c9b3638f5a3fedc3dc45b54ade8bb0248286d
workspaces:
- name: source
workspace: workspace
Expand Down
2 changes: 1 addition & 1 deletion task/kubeconfig-creator/0.1/kubeconfig-creator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ spec:
- name: output
steps:
- name: write
image: gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/kubeconfigwriter@sha256:b2c6d0962cda88fb3095128b6202da9b0e6c9c0df3ef6cf7863505ffd25072fd #tag: v0.20.1
image: ghcr.io/tektoncd/github.com/tektoncd/pipeline/cmd/kubeconfigwriter@sha256:b2c6d0962cda88fb3095128b6202da9b0e6c9c0df3ef6cf7863505ffd25072fd #tag: v0.20.1
command: ["/ko-app/kubeconfigwriter"]
args:
# passing the required json in the form of string to generate the kubeconfig file.
Expand Down
2 changes: 1 addition & 1 deletion task/pull-request/0.1/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ spec:
- name: pr
steps:
- name: pullrequest-init
image: gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/pullrequest-init@sha256:69633ecd0e948f6462c61bb9e008b940a05b143ef51c67e6e4093278a23dac53 #tag: v0.20.1
image: ghcr.io/tektoncd/github.com/tektoncd/pipeline/cmd/pullrequest-init@sha256:69633ecd0e948f6462c61bb9e008b940a05b143ef51c67e6e4093278a23dac53 #tag: v0.20.1
command: ["/ko-app/pullrequest-init"]
env:
- name: AUTH_TOKEN
Expand Down
2 changes: 1 addition & 1 deletion task/syft/0.1/tests/run-daemon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
params:
- name: ARGS
value:
- gcr.io/tekton-releases/dogfooding/tkn
- ghcr.io/tektoncd/plumbing/tkn
pipelineRef:
name: pipeline-syft-test
timeout: 10m
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
- name: TKN_IMAGE
type: string
description: tkn CLI container image to run this task
default: gcr.io/tekton-releases/dogfooding/tkn@sha256:015bb6018d5eaf4523a775f4955c85f68077099753661941d06843d5a61a86df
default: ghcr.io/tektoncd/plumbing/tkn@sha256:015bb6018d5eaf4523a775f4955c85f68077099753661941d06843d5a61a86df
- name: REGISTRY
type: string
description: The registry where bundles are published to
Expand Down
2 changes: 1 addition & 1 deletion task/tkn/0.1/tkn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
params:
- name: tkn-image
description: tkn CLI container image to run this task
default: gcr.io/tekton-releases/dogfooding/tkn@sha256:f79c0a56d561b1ae98afca545d0feaf2759f5c486ef891a79f23dc2451167dad #tag: latest
default: ghcr.io/tektoncd/plumbing/tkn@sha256:f79c0a56d561b1ae98afca545d0feaf2759f5c486ef891a79f23dc2451167dad #tag: latest
- name: ARGS
type: array
description: tkn CLI arguments to run
Expand Down
2 changes: 1 addition & 1 deletion task/tkn/0.2/tkn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
params:
- name: TKN_IMAGE
description: tkn CLI container image to run this task
default: gcr.io/tekton-releases/dogfooding/tkn@sha256:f69a02ef099d8915e9e4ea1b74e43b7a9309fc97cf23cb457ebf191e73491677
default: ghcr.io/tektoncd/plumbing/tkn@sha256:f69a02ef099d8915e9e4ea1b74e43b7a9309fc97cf23cb457ebf191e73491677
- name: SCRIPT
description: tkn CLI script to execute
type: string
Expand Down
2 changes: 1 addition & 1 deletion task/tkn/0.3/tkn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
params:
- name: TKN_IMAGE
description: tkn CLI container image to run this task
default: gcr.io/tekton-releases/dogfooding/tkn@sha256:d17fec04f655551464a47dd59553c9b44cf660cc72dbcdbd52c0b8e8668c0579
default: ghcr.io/tektoncd/plumbing/tkn@sha256:d17fec04f655551464a47dd59553c9b44cf660cc72dbcdbd52c0b8e8668c0579
- name: SCRIPT
description: tkn CLI script to execute
type: string
Expand Down
2 changes: 1 addition & 1 deletion task/tkn/0.4/tkn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
params:
- name: TKN_IMAGE
description: tkn CLI container image to run this task
default: gcr.io/tekton-releases/dogfooding/tkn@sha256:d17fec04f655551464a47dd59553c9b44cf660cc72dbcdbd52c0b8e8668c0579
default: ghcr.io/tektoncd/plumbing/tkn@sha256:d17fec04f655551464a47dd59553c9b44cf660cc72dbcdbd52c0b8e8668c0579
- name: SCRIPT
description: tkn CLI script to execute
type: string
Expand Down

0 comments on commit ea27d33

Please sign in to comment.