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:
parent
a8c2c4d394
commit
8e72abb3e9
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user