Skip to content

Commit

Permalink
tekton: fix KO_CONFIG_PATH on release pipeline
Browse files Browse the repository at this point in the history
- Export the `KO_CONFIG_PATH` variable 🤦
- Using KO_CONFIG_PATH pointing to a file doesn't seem to work with ko
  0.12.0 (ko-build/ko#919)

Signed-off-by: Vincent Demeester <[email protected]>
  • Loading branch information
vdemeester authored and tekton-robot committed Jan 5, 2023
1 parent a1bac54 commit 6782a76
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tekton/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ spec:
set -ex
# Use the generated `.ko.yaml`
KO_CONFIG_PATH=/workspace/.ko.yaml
export KO_CONFIG_PATH=/workspace
cat ${KO_CONFIG_PATH}/.ko.yaml
# Setup docker-auth
DOCKER_CONFIG=~/.docker
Expand Down

0 comments on commit 6782a76

Please sign in to comment.