- Istio, for WASM support
- Knative, for image digest resolution
- Tekton, for image entrypoint lookup and digest resolution
- Kuberentes release management, to validate built images
- Buildpacks, to push and manage image layers
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
package main | |
import ( | |
"flag" | |
"io" | |
"log" | |
"os" | |
) | |
var ( |
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
package main | |
import ( | |
"encoding/json" | |
"flag" | |
"fmt" | |
"log" | |
"math" | |
"net/http" | |
) |
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
package flywheel | |
import ( | |
"archive/zip" | |
"encoding/json" | |
"fmt" | |
"log" | |
"strconv" | |
"time" |
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
package main | |
import ( | |
"flag" | |
"fmt" | |
"log" | |
"net/http" | |
_url "net/url" | |
"code.google.com/p/go.net/html" |
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
# This Task runs a `docker build` on a specified node architecture. | |
# TODO: | |
# - mount source incl Dockerfile | |
# - mount a Docker daemon | |
apiVersion: tekton.dev/v1beta1 | |
kind: Task | |
metadata: | |
name: build | |
spec: |
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
# Generate a keypair | |
$ cosign generate-key-pair | |
Enter password for private key: | |
Enter again: | |
Private key written to cosign.key | |
Public key written to cosign.pub | |
# Use it to sign an image | |
$ cosign sign -key=cosign.key gcr.io/imjasonh/ubuntu | |
Enter password for private key: |
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
$ go run ./ deps $IMAGE --spdx | |
SPDXVersion: SPDX-2.2 | |
DataLicense: CC0-1.0 | |
SPDXID: SPDXRef-DOCUMENT | |
DocumentName: github.com/google/ko | |
DocumentNamespace: http://spdx.org/spdxpackages/github.com/google/ko-999a6226-9c5c-4f6d-a09f-2bb7dde5dab3 | |
Creator: Tool: ko (devel) | |
Created: 2021-09-28T16:00:41Z |
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
// +build e2e,windows_e2e | |
/* | |
Copyright 2021 The Tekton Authors | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 |
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
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"log" | |
"os" | |
"github.com/google/go-containerregistry/pkg/authn" | |
"github.com/google/go-containerregistry/pkg/name" |