You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-12Lines changed: 13 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
> :warning: Note: `ko` recently [moved to its own GitHub org](https://github.com/ko-build/ko/issues/791), which broke `setup-ko@v0.5` if the `ko` version wasn't specified.
6
6
>
7
-
> To fix this, either upgrade to [`setup-ko@v0.6`](https://github.com/ko-build/setup-ko/releases/tag/v0.6) or specify `version`
7
+
> To fix this, either upgrade to >= [`setup-ko@v0.6`](https://github.com/ko-build/setup-ko/releases/tag/v0.6) or specify `version`
8
8
9
9
## Example usage
10
10
@@ -20,12 +20,12 @@ jobs:
20
20
name: Publish
21
21
runs-on: ubuntu-latest
22
22
steps:
23
-
- uses: actions/setup-go@v4
23
+
- uses: actions/checkout@v4
24
+
- uses: actions/setup-go@v5
24
25
with:
25
-
go-version: '1.20.x'
26
-
- uses: actions/checkout@v3
26
+
go-version: '1.23.x'
27
27
28
-
- uses: ko-build/setup-ko@v0.6
28
+
- uses: ko-build/setup-ko@v0.8
29
29
- run: ko build
30
30
```
31
31
@@ -45,9 +45,9 @@ By default, `ko-build/setup-ko` installs the [latest released version of `ko`](h
45
45
You can select a version with the `version` parameter:
46
46
47
47
```yaml
48
-
- uses: ko-build/setup-ko@v0.6
48
+
- uses: ko-build/setup-ko@v0.8
49
49
with:
50
-
version: v0.14.1
50
+
version: v0.17.1
51
51
```
52
52
53
53
To build and install `ko` from source using `go install`, specify `version: tip`.
@@ -64,7 +64,7 @@ You can use [encrypted secrets](https://docs.github.com/en/actions/reference/enc
0 commit comments