Created
January 3, 2022 21:39
-
-
Save imjasonh/e554fd829621cf96fd711171604bf9c1 to your computer and use it in GitHub Desktop.
building sonobuoy with ko
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ echo "defaultBaseImage: gcr.io/imjasonh/combined" > .ko.yaml | |
$ export KO_DOCKER_REPO=gcr.io/imjasonh | |
$ ko publish ./ --platform=all | |
2022/01/03 16:32:50 Using base gcr.io/imjasonh/combined for github.com/vmware-tanzu/sonobuoy | |
2022/01/03 16:32:52 Building github.com/vmware-tanzu/sonobuoy for windows/amd64 | |
2022/01/03 16:32:52 Building github.com/vmware-tanzu/sonobuoy for windows/amd64 | |
2022/01/03 16:32:52 Building github.com/vmware-tanzu/sonobuoy for windows/amd64 | |
2022/01/03 16:32:53 Building github.com/vmware-tanzu/sonobuoy for linux/ppc64le | |
2022/01/03 16:32:53 Building github.com/vmware-tanzu/sonobuoy for linux/s390x | |
2022/01/03 16:32:53 Building github.com/vmware-tanzu/sonobuoy for linux/arm | |
2022/01/03 16:32:53 Building github.com/vmware-tanzu/sonobuoy for linux/amd64 | |
2022/01/03 16:32:53 Building github.com/vmware-tanzu/sonobuoy for linux/arm64 | |
... | |
2022/01/03 16:38:06 Published gcr.io/imjasonh/sonobuoy-0046c5772c02cfd85195e81a7b4712ba@sha256:3507c9e37b9eaa97d60eabe672db77d2609f672132077efd306a937c10c1173b | |
gcr.io/imjasonh/sonobuoy-0046c5772c02cfd85195e81a7b4712ba@sha256:3507c9e37b9eaa97d60eabe672db77d2609f672132077efd306a937c10c1173b | |
$ crane manifest gcr.io/imjasonh/sonobuoy-0046c5772c02cfd85195e81a7b4712ba@sha256:3507c9e37b9eaa97d60eabe672db77d2609f672132077efd306a937c10c1173b | jq '.manifests[].platform' | |
{ | |
"architecture": "amd64", | |
"os": "windows", | |
"os.version": "10.0.20348.405" | |
} | |
{ | |
"architecture": "ppc64le", | |
"os": "linux" | |
} | |
{ | |
"architecture": "arm", | |
"os": "linux" | |
} | |
{ | |
"architecture": "amd64", | |
"os": "linux" | |
} | |
{ | |
"architecture": "amd64", | |
"os": "windows", | |
"os.version": "10.0.17763.2366" | |
} | |
{ | |
"architecture": "s390x", | |
"os": "linux" | |
} | |
{ | |
"architecture": "arm64", | |
"os": "linux" | |
} | |
{ | |
"architecture": "amd64", | |
"os": "windows", | |
"os.version": "10.0.17763.2366" | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment