Skip to content

Commit bb7871f

Browse files
committed
docs: added context on why the check for disabled is required
1 parent b48d0da commit bb7871f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.goreleaser.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ kos:
5353
org.opencontainers.image.version: "{{.Version}}"
5454
bare: true
5555
preserve_import_paths: false
56-
# disable: '{{ ne (envOrDefault "GOOS" "") "linux" }}'
56+
# FIXME: We use GOOS and -split in our pipeline which is causing issues with the ko integration
57+
# so we disable it here when the GOOS is set to something other than linux. This avoids
58+
# the ko build to fail when running on macos or windows.
5759
disable: '{{ and (isEnvSet "GOOS") (ne .Env.GOOS "linux") }}'
5860
platforms:
5961
- linux/amd64

0 commit comments

Comments
 (0)