Skip to content

Commit

Permalink
Stop using GO111MODULE=off in builds
Browse files Browse the repository at this point in the history
GO111MODULE=off was set back in 2019
tektoncd@1a1412e
probably before we supported go modules for pipeline.

GO111MODULE is not needed anymore, and it breaks SBOM generation.
Rather than setting it GO111MODULE to "on", remove it, since its
default value is "on" since go1.13  and we're now using go 1.18.

Signed-off-by: Andrea Frittoli <[email protected]>
  • Loading branch information
afrittoli authored and tekton-robot committed May 13, 2022
1 parent 3c0fb3b commit 16d73c5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tekton/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,6 @@ spec:
env:
- name: KO_DOCKER_REPO
value: $(params.imageRegistry)/$(params.imageRegistryPath)
- name: GO111MODULE
value: "off"
- name: GOFLAGS
value: "-mod=vendor"
script: |
Expand Down

0 comments on commit 16d73c5

Please sign in to comment.