Skip to content

Commit 0fa25b1

Browse files
committed
update the release script to fetch tasks from artifacthub
Signed-off-by: Shiv Verma <shverma@redhat.com>
1 parent 635504a commit 0fa25b1

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tekton/release.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,14 +115,14 @@ kubectl create namespace ${TARGET_NAMESPACE} 2>/dev/null || true
115115

116116
for task in ${CATALOG_TASKS};do
117117
if [ ${task} == "lint" ]; then
118-
tkn -n ${TARGET_NAMESPACE} hub install task golangci-lint
118+
tkn -n ${TARGET_NAMESPACE} hub install task golangci-lint --type artifact --from tekton-catalog-tasks
119119
else
120-
tkn -n ${TARGET_NAMESPACE} hub install task golang-${task}
120+
tkn -n ${TARGET_NAMESPACE} hub install task golang-${task} --type artifact --from tekton-catalog-tasks
121121
fi
122122
done
123123

124-
tkn -n ${TARGET_NAMESPACE} hub install task git-clone
125-
tkn -n ${TARGET_NAMESPACE} hub install task goreleaser
124+
tkn -n ${TARGET_NAMESPACE} hub install task git-clone --type artifact --from tekton-catalog-tasks
125+
tkn -n ${TARGET_NAMESPACE} hub install task goreleaser --type artifact --from tekton-catalog-tasks
126126

127127
kubectl -n ${TARGET_NAMESPACE} apply -f ./tekton/get-version.yaml
128128
kubectl -n ${TARGET_NAMESPACE} apply -f ./tekton/publish.yaml

0 commit comments

Comments
 (0)