Skip to content

Commit

Permalink
Use step action v2 for catalog upload
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Frittoli <[email protected]>
  • Loading branch information
afrittoli authored and tekton-robot committed Oct 1, 2024
1 parent 122d932 commit 49e872f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tekton/resources/cd/catalog-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ spec:
- name: revision
value: main
- name: pathInRepo
value: stepaction/tekton-catalog-publish/0.1/tekton-catalog-publish.yaml
value: stepaction/tekton-catalog-publish/0.2/tekton-catalog-publish.yaml
params:
- name: catalogPath
value: $(workspaces.shared.path)
Expand All @@ -135,6 +135,8 @@ spec:
value: "$(params.registryPath)/tasks"
- name: TAG
value: "$(steps.fetch-repo.results.commit)"
- name: TKN_ARGS
value: "--label org.opencontainers.image.source=$(params.url)"
- name: publish-steps
ref:
resolver: git
Expand All @@ -144,7 +146,7 @@ spec:
- name: revision
value: main
- name: pathInRepo
value: stepaction/tekton-catalog-publish/0.1/tekton-catalog-publish.yaml
value: stepaction/tekton-catalog-publish/0.2/tekton-catalog-publish.yaml
params:
- name: catalogPath
value: $(workspaces.shared.path)
Expand All @@ -158,6 +160,8 @@ spec:
value: "$(params.registryPath)/stepactions"
- name: TAG
value: "$(steps.fetch-repo.results.commit)"
- name: TKN_ARGS
value: "--label org.opencontainers.image.source=github.com/tektoncd/catalog"
---
apiVersion: triggers.tekton.dev/v1alpha1
kind: TriggerTemplate
Expand Down

0 comments on commit 49e872f

Please sign in to comment.