Created
September 7, 2023 14:20
-
-
Save zregvart/7cc23e92ba37333f70c07af7671cac5a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "_type": "https://in-toto.io/Statement/v0.1", | |
| "predicateType": "https://slsa.dev/provenance/v1", | |
| "subject": [ | |
| { | |
| "name": "registry.image-registry.svc.cluster.local:5000/work/simple", | |
| "digest": { | |
| "sha256": "b1be740ebf6a45c6cca0c5efe2d5278f4b7a8ef6a9023e84f0951a169ad7c27d" | |
| } | |
| } | |
| ], | |
| "predicate": { | |
| "buildDefinition": { | |
| "buildType": "https://tekton.dev/chains/v2/slsa", | |
| "externalParameters": { | |
| "runSpec": { | |
| "pipelineSpec": { | |
| "tasks": [ | |
| { | |
| "name": "checkout", | |
| "taskRef": { | |
| "kind": "Task", | |
| "resolver": "git", | |
| "params": [ | |
| { | |
| "name": "url", | |
| "value": "https://github.com/tektoncd/catalog.git" | |
| }, | |
| { | |
| "name": "revision", | |
| "value": "main" | |
| }, | |
| { | |
| "name": "pathInRepo", | |
| "value": "task/git-clone/0.9/git-clone.yaml" | |
| } | |
| ] | |
| }, | |
| "params": [ | |
| { | |
| "name": "url", | |
| "value": "https://github.com/enterprise-contract/golden-container.git" | |
| }, | |
| { | |
| "name": "revision", | |
| "value": "main" | |
| } | |
| ], | |
| "workspaces": [ | |
| { | |
| "name": "output", | |
| "workspace": "work" | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "build", | |
| "taskRef": { | |
| "kind": "Task", | |
| "resolver": "git", | |
| "params": [ | |
| { | |
| "name": "url", | |
| "value": "https://github.com/tektoncd/catalog.git" | |
| }, | |
| { | |
| "name": "revision", | |
| "value": "main" | |
| }, | |
| { | |
| "name": "pathInRepo", | |
| "value": "task/kaniko/0.6/kaniko.yaml" | |
| } | |
| ] | |
| }, | |
| "runAfter": [ | |
| "checkout" | |
| ], | |
| "params": [ | |
| { | |
| "name": "IMAGE", | |
| "value": "registry.image-registry.svc.cluster.local:5000/work/simple" | |
| }, | |
| { | |
| "name": "DOCKERFILE", | |
| "value": "./Containerfile" | |
| }, | |
| { | |
| "name": "CONTEXT", | |
| "value": "/workspace/source/" | |
| } | |
| ], | |
| "workspaces": [ | |
| { | |
| "name": "source", | |
| "workspace": "work" | |
| } | |
| ] | |
| } | |
| ], | |
| "workspaces": [ | |
| { | |
| "name": "work" | |
| } | |
| ], | |
| "results": [ | |
| { | |
| "name": "CHAINS-GIT_URL", | |
| "description": "", | |
| "value": "$(tasks.checkout.results.url)" | |
| }, | |
| { | |
| "name": "CHAINS-GIT_COMMIT", | |
| "description": "", | |
| "value": "$(tasks.checkout.results.commit)" | |
| }, | |
| { | |
| "name": "IMAGE_URL", | |
| "description": "", | |
| "value": "$(tasks.build.results.IMAGE_URL)" | |
| }, | |
| { | |
| "name": "IMAGE_DIGEST", | |
| "description": "", | |
| "value": "$(tasks.build.results.IMAGE_DIGEST)" | |
| } | |
| ] | |
| }, | |
| "serviceAccountName": "default", | |
| "timeouts": { | |
| "pipeline": "1h0m0s" | |
| }, | |
| "workspaces": [ | |
| { | |
| "name": "work", | |
| "persistentVolumeClaim": { | |
| "claimName": "workspace" | |
| } | |
| } | |
| ] | |
| } | |
| }, | |
| "internalParameters": {}, | |
| "resolvedDependencies": [ | |
| { | |
| "uri": "oci://gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/git-init", | |
| "digest": { | |
| "sha256": "28ff94e63e4058afc3f15b4c11c08cf3b54fa91faa646a4bbac90380cd7158df" | |
| } | |
| }, | |
| { | |
| "uri": "oci://gcr.io/kaniko-project/executor", | |
| "digest": { | |
| "sha256": "c6166717f7fe0b7da44908c986137ecfeab21f31ec3992f6e128fff8a94be8a5" | |
| } | |
| }, | |
| { | |
| "uri": "oci://docker.io/library/bash", | |
| "digest": { | |
| "sha256": "c523c636b722339f41b6a431b44588ab2f762c5de5ec3bd7964420ff982fb1d9" | |
| } | |
| }, | |
| { | |
| "uri": "git+https://github.com/enterprise-contract/golden-container.git.git", | |
| "digest": { | |
| "sha1": "7c3e154d60695b852c1f2a92b45ab3f653a63b83" | |
| }, | |
| "name": "inputs/result" | |
| } | |
| ] | |
| }, | |
| "runDetails": { | |
| "builder": { | |
| "id": "https://tekton.dev/chains/v2" | |
| }, | |
| "metadata": { | |
| "invocationID": "e009daa6-37ac-4896-9311-c19e2ba059d7", | |
| "startedOn": "2023-09-07T14:16:07Z", | |
| "finishedOn": "2023-09-07T14:16:28Z" | |
| }, | |
| "byproducts": [ | |
| { | |
| "name": "pipelineRunResults/CHAINS-GIT_URL", | |
| "mediaType": "application/json", | |
| "content": "Imh0dHBzOi8vZ2l0aHViLmNvbS9lbnRlcnByaXNlLWNvbnRyYWN0L2dvbGRlbi1jb250YWluZXIuZ2l0Ig==" | |
| }, | |
| { | |
| "name": "pipelineRunResults/CHAINS-GIT_COMMIT", | |
| "mediaType": "application/json", | |
| "content": "IjdjM2UxNTRkNjA2OTViODUyYzFmMmE5MmI0NWFiM2Y2NTNhNjNiODMi" | |
| }, | |
| { | |
| "name": "pipelineRunResults/IMAGE_URL", | |
| "mediaType": "application/json", | |
| "content": "InJlZ2lzdHJ5LmltYWdlLXJlZ2lzdHJ5LnN2Yy5jbHVzdGVyLmxvY2FsOjUwMDAvd29yay9zaW1wbGUi" | |
| }, | |
| { | |
| "name": "pipelineRunResults/IMAGE_DIGEST", | |
| "mediaType": "application/json", | |
| "content": "InNoYTI1NjpiMWJlNzQwZWJmNmE0NWM2Y2NhMGM1ZWZlMmQ1Mjc4ZjRiN2E4ZWY2YTkwMjNlODRmMDk1MWExNjlhZDdjMjdkIg==" | |
| } | |
| ] | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment