Skip to content

Commit f990d7e

Browse files
committed
update go project path from google/ko to ko-build/ko
Signed-off-by: cpanato <ctadeu@gmail.com>
1 parent 1a44a20 commit f990d7e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+131
-126
lines changed

.goreleaser.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ builds:
1313
flags:
1414
- -trimpath
1515
ldflags:
16-
- "-s -w -X github.com/google/ko/pkg/commands.Version={{.Version}}"
16+
- "-s -w -X github.com/ko-build/ko/pkg/commands.Version={{.Version}}"
1717
goos:
1818
- windows
1919
- linux
@@ -33,7 +33,7 @@ kos:
3333
main: .
3434
base_image: golang:latest
3535
ldflags:
36-
- "-s -w -X github.com/google/ko/pkg/commands.Version={{.Version}}"
36+
- "-s -w -X github.com/ko-build/ko/pkg/commands.Version={{.Version}}"
3737
platforms:
3838
- all
3939
tags:

.ko.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
baseImageOverrides:
2-
github.com/google/ko: golang:latest
2+
github.com/ko-build/ko: golang:latest
33

44
builds:
55
- id: ko

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# `ko`: Easy Go Containers
22

33
[![GitHub Actions Build Status](https://github.com/ko-build/ko/workflows/Build/badge.svg)](https://github.com/ko-build/ko/actions?query=workflow%3ABuild)
4-
[![GoDoc](https://godoc.org/github.com/google/ko?status.svg)](https://godoc.org/github.com/google/ko)
4+
[![GoDoc](https://godoc.org/github.com/ko-build/ko?status.svg)](https://godoc.org/github.com/ko-build/ko)
55
[![Go Report Card](https://goreportcard.com/badge/ko-build/ko)](https://goreportcard.com/report/ko-build/ko)
66
[![SLSA 3](https://slsa.dev/images/gh-badge-level3.svg)](https://slsa.dev/images/gh-badge-level3.svg)
77

cmd/help/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
"fmt"
1919
"os"
2020

21-
"github.com/google/ko/pkg/commands"
21+
"github.com/ko-build/ko/pkg/commands"
2222
"github.com/spf13/cobra"
2323
"github.com/spf13/cobra/doc"
2424
)

docs/advanced/go-packages.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
`ko`'s functionality can be consumed as a library in a Go application.
44

5-
To build an image, use [`pkg/build`](https://pkg.go.dev/github.com/google/ko/pkg/build), and publish it with [`pkg/publish`](https://pkg.go.dev/github.com/google/ko/pkg/publish).
5+
To build an image, use [`pkg/build`](https://pkg.go.dev/github.com/ko-build/ko/pkg/build), and publish it with [`pkg/publish`](https://pkg.go.dev/github.com/ko-build/ko/pkg/publish).
66

77
This is a minimal example of using the packages together, to implement the core subset of `ko`'s functionality:
88

@@ -17,8 +17,9 @@ import (
1717
"github.com/google/go-containerregistry/pkg/authn"
1818
"github.com/google/go-containerregistry/pkg/name"
1919
"github.com/google/go-containerregistry/pkg/v1/remote"
20-
"github.com/google/ko/pkg/build"
21-
"github.com/google/ko/pkg/publish"
20+
21+
"github.com/ko-build/ko/pkg/build"
22+
"github.com/ko-build/ko/pkg/publish"
2223
)
2324

2425
const (

docs/install.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ $ curl -sSfL https://github.com/ko-build/ko/releases/download/v${VERSION}/multip
1717
$ slsa-verifier verify-artifact --provenance-path multiple.intoto.jsonl --source-uri github.com/ko-build/ko --source-tag "v${VERSION}" ko.tar.gz
1818
Verified signature against tlog entry index 24413745 at URL: https://rekor.sigstore.dev/api/v1/log/entries/24296fb24b8ad77ab97a5263b5fa8f35789618348a39358b1f9470b0c31045effbbe5e23e77a5836
1919
Verified build using builder "https://github.com/slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@refs/tags/v1.7.0" at commit 200db7243f02b5c0303e21d8ab8e3b4ad3a229d0
20-
Verifying artifact /Users/batuhanapaydin/workspace/ko/ko.tar.gz: PASSED
20+
Verifying artifact /Users/<username>/workspace/ko/ko.tar.gz: PASSED
2121

2222
PASSED: Verified SLSA provenance
2323
```
@@ -62,7 +62,7 @@ apk add ko
6262
With Go 1.16+, build and install the latest released version:
6363

6464
```plaintext
65-
go install github.com/google/ko@latest
65+
go install github.com/ko-build/ko@latest
6666
```
6767

6868
### Setup on GitHub Actions

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/google/ko
1+
module github.com/ko-build/ko
22

33
go 1.24.3
44

integration_test.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ GOARCH="${GOARCH:-$(go env GOARCH)}"
2222
pushd "$GOPATH" || exit 1
2323

2424
echo "Copying ko to temp gopath."
25-
mkdir -p "$GOPATH/src/github.com/google/ko"
26-
cp -r "$ROOT_DIR/"* "$GOPATH/src/github.com/google/ko/"
25+
mkdir -p "$GOPATH/src/github.com/ko-build/ko"
26+
cp -r "$ROOT_DIR/"* "$GOPATH/src/github.com/ko-build/ko/"
2727

28-
pushd "$GOPATH/src/github.com/google/ko" || exit 1
28+
pushd "$GOPATH/src/github.com/ko-build/ko" || exit 1
2929

3030
echo "Building ko"
3131

@@ -36,7 +36,7 @@ echo "Beginning scenarios."
3636
FILTER="[^ ]local[^ ]*"
3737

3838
echo "1. Test should create an image that outputs 'Hello World'."
39-
RESULT="$(./ko build --local --platform="linux/$GOARCH" "$GOPATH/src/github.com/google/ko/test" | grep "$FILTER" | xargs -I% docker run %)"
39+
RESULT="$(./ko build --local --platform="linux/$GOARCH" "$GOPATH/src/github.com/ko-build/ko/test" | grep "$FILTER" | xargs -I% docker run %)"
4040
if [[ "$RESULT" != *"Hello there"* ]]; then
4141
echo "Test FAILED. Saw $RESULT" && exit 1
4242
else
@@ -45,7 +45,7 @@ fi
4545

4646
echo "2. Test knative 'KO_FLAGS' variable is ignored."
4747
# https://github.com/ko-build/ko/issues/1317
48-
RESULT="$(KO_FLAGS="--platform=badvalue" ./ko build --local --platform="linux/$GOARCH" "$GOPATH/src/github.com/google/ko/test" | grep "$FILTER" | xargs -I% docker run %)"
48+
RESULT="$(KO_FLAGS="--platform=badvalue" ./ko build --local --platform="linux/$GOARCH" "$GOPATH/src/github.com/ko-build/ko/test" | grep "$FILTER" | xargs -I% docker run %)"
4949
if [[ "$RESULT" != *"Hello there"* ]]; then
5050
echo "Test FAILED. Saw $RESULT" && exit 1
5151
else

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020
"os"
2121
"os/signal"
2222

23-
"github.com/google/ko/pkg/commands"
23+
"github.com/ko-build/ko/pkg/commands"
2424
)
2525

2626
func main() {

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ plugins:
7373
'issues.md': 'https://github.com/ko-build/ko/issues'
7474
'prs.md': 'https://github.com/ko-build/ko/pulls'
7575
'releases.md': 'https://github.com/ko-build/ko/releases'
76-
'godoc.md': 'https://pkg.go.dev/github.com/google/ko'
76+
'godoc.md': 'https://pkg.go.dev/github.com/ko-build/ko'
7777
'terraform.md': 'https://github.com/ko-build/terraform-provider-ko'
7878
'action.md': 'https://github.com/ko-build/setup-ko'
7979
'slack.md': 'https://kubernetes.slack.com/archives/C01T7DTP65S'

0 commit comments

Comments
 (0)