1
0
mirror of https://github.com/tektoncd/catalog.git synced 2024-11-26 06:23:37 +00:00

Fix goreleaser task

This will goreleaser task that is failing with error
related to git
This commit is contained in:
Piyush Garg 2024-08-21 20:52:53 +05:30 committed by tekton-robot
parent a8c2c4d394
commit 8e72abb3e9

View File

@ -41,11 +41,13 @@ spec:
image: $(params.image) image: $(params.image)
workingDir: $(workspaces.source.path) workingDir: $(workspaces.source.path)
script: | script: |
git config --global --add safe.directory $(workspaces.source.path)
git status; git fetch -p --all git status; git fetch -p --all
- name: release - name: release
image: $(params.image) image: $(params.image)
workingDir: $(workspaces.source.path) workingDir: $(workspaces.source.path)
script: | script: |
git config --global --add safe.directory $(workspaces.source.path)
goreleaser release $(params.flags) goreleaser release $(params.flags)
env: env:
- name: GOPATH - name: GOPATH