1
0
mirror of https://github.com/ko-build/ko.git synced 2024-11-19 18:01:46 +02:00
Commit Graph

1167 Commits

Author SHA1 Message Date
Carlos Tadeu Panato Junior
5fda8913fd
Merge pull request #1445 from ko-build/dependabot/github_actions/github/codeql-action-3.27.4
Bump github/codeql-action from 3.27.3 to 3.27.4
2024-11-15 05:43:23 +01:00
dependabot[bot]
bb6b1ca1c8
Bump github/codeql-action from 3.27.3 to 3.27.4
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.27.3 to 3.27.4.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](396bb3e453...ea9e4e3799)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-15 01:27:04 +00:00
Carlos Tadeu Panato Junior
4f6dc8669a
Merge pull request #1444 from ko-build/dependabot/github_actions/github/codeql-action-3.27.3 2024-11-13 05:20:29 +01:00
dependabot[bot]
dabff1f25f
Bump github/codeql-action from 3.27.1 to 3.27.3
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.27.1 to 3.27.3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](4f3212b617...396bb3e453)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-13 01:55:10 +00:00
Carlos Tadeu Panato Junior
4c69e4d527
Merge pull request #1443 from ko-build/dependabot/github_actions/github/codeql-action-3.27.1 2024-11-12 18:09:47 +01:00
Carlos Tadeu Panato Junior
102a8594e0
Merge pull request #1441 from ko-build/dependabot/go_modules/sigs.k8s.io/kind-0.25.0 2024-11-11 19:04:27 +01:00
Carlos Tadeu Panato Junior
8d83578247
Merge pull request #1442 from ko-build/dependabot/go_modules/golang.org/x/tools-0.27.0 2024-11-11 19:03:46 +01:00
dependabot[bot]
45055c1cc6
Bump github/codeql-action from 3.27.0 to 3.27.1
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.27.0 to 3.27.1.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](662472033e...4f3212b617)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-11 01:45:21 +00:00
dependabot[bot]
3e224996da
Bump golang.org/x/tools from 0.26.0 to 0.27.0
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.26.0 to 0.27.0.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.26.0...v0.27.0)

---
updated-dependencies:
- dependency-name: golang.org/x/tools
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-11 01:40:19 +00:00
dependabot[bot]
93fe3e7224
Bump sigs.k8s.io/kind from 0.24.0 to 0.25.0
Bumps [sigs.k8s.io/kind](https://github.com/kubernetes-sigs/kind) from 0.24.0 to 0.25.0.
- [Release notes](https://github.com/kubernetes-sigs/kind/releases)
- [Commits](https://github.com/kubernetes-sigs/kind/compare/v0.24.0...v0.25.0)

---
updated-dependencies:
- dependency-name: sigs.k8s.io/kind
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-11 01:40:14 +00:00
Carlos Tadeu Panato Junior
e61e83851f
Merge pull request #1439 from ko-build/dependabot/go_modules/golang.org/x/sync-0.9.0 2024-11-08 07:23:05 +01:00
Carlos Tadeu Panato Junior
afeaf36ece
Merge pull request #1440 from ko-build/dependabot/github_actions/goreleaser/goreleaser-action-6.1.0 2024-11-08 07:18:03 +01:00
dependabot[bot]
0e4c8b9af2
Bump goreleaser/goreleaser-action from 6.0.0 to 6.1.0
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 6.0.0 to 6.1.0.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](286f3b13b1...9ed2f89a66)

---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-08 01:34:48 +00:00
dependabot[bot]
b43eab97aa
Bump golang.org/x/sync from 0.8.0 to 0.9.0
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.8.0 to 0.9.0.
- [Commits](https://github.com/golang/sync/compare/v0.8.0...v0.9.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sync
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-08 01:09:51 +00:00
Carlos Tadeu Panato Junior
1feecb44ec
Merge pull request #1438 from ko-build/dependabot/go_modules/github.com/golang-jwt/jwt/v4-4.5.1 2024-11-05 10:18:11 +01:00
dependabot[bot]
9751ad4d23
Bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1
Bumps [github.com/golang-jwt/jwt/v4](https://github.com/golang-jwt/jwt) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/golang-jwt/jwt/releases)
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md)
- [Commits](https://github.com/golang-jwt/jwt/compare/v4.5.0...v4.5.1)

---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-04 23:30:48 +00:00
kosamson
d077603cca add incert section 2024-10-30 13:22:37 -04:00
kosamson
52467ebe4a add documentation for installing custom root ca certificates
adds a documentation page under the advanced section outlining how to
install custom root certificates into a container built using ko
2024-10-30 13:22:37 -04:00
Carlos Tadeu Panato Junior
16fcf94252
Merge pull request #1436 from ko-build/dependabot/github_actions/actions/setup-python-5.3.0
Bump actions/setup-python from 5.2.0 to 5.3.0
2024-10-25 09:48:25 +02:00
Carlos Tadeu Panato Junior
014629a0a1
Merge pull request #1437 from ko-build/dependabot/github_actions/actions/setup-go-5.1.0 2024-10-25 08:10:53 +02:00
dependabot[bot]
93f00975d4
Bump actions/setup-go from 5.0.2 to 5.1.0
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.0.2 to 5.1.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](0a12ed9d6a...41dfa10bad)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-25 01:17:18 +00:00
dependabot[bot]
f3d54b8f1e
Bump actions/setup-python from 5.2.0 to 5.3.0
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](f677139bbe...0b93645e9f)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-25 01:17:13 +00:00
Jon Johnson
fd1f25182d Remove cycle in release process
We can't use the latest release to build the latest release.

Signed-off-by: Jon Johnson <jon.johnson@chainguard.dev>
2024-10-24 19:44:00 -04:00
Maxime Brunet
ac22328979 feat: add image user option
Signed-off-by: Maxime Brunet <max@brnt.mx>
2024-10-24 09:58:21 -04:00
Carlos Tadeu Panato Junior
6541f6e217
Merge pull request #1421 from ko-build/dependabot/github_actions/actions/upload-artifact-4.4.3
Bump actions/upload-artifact from 4.4.2 to 4.4.3
2024-10-24 11:52:57 +02:00
Carlos Tadeu Panato Junior
bfaef8b9bb
Merge pull request #1431 from ko-build/dependabot/github_actions/actions/checkout-4.2.2
Bump actions/checkout from 4.2.1 to 4.2.2
2024-10-24 09:34:23 +02:00
Carlos Tadeu Panato Junior
13b49554cd
Merge pull request #1432 from ko-build/dependabot/go_modules/k8s.io/apimachinery-0.31.2
Bump k8s.io/apimachinery from 0.31.1 to 0.31.2
2024-10-24 09:33:45 +02:00
dependabot[bot]
37013283ec
Bump k8s.io/apimachinery from 0.31.1 to 0.31.2
Bumps [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) from 0.31.1 to 0.31.2.
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.31.1...v0.31.2)

---
updated-dependencies:
- dependency-name: k8s.io/apimachinery
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-24 01:31:16 +00:00
dependabot[bot]
4e5d543714
Bump actions/checkout from 4.2.1 to 4.2.2
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.1 to 4.2.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](eef61447b9...11bd71901b)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-24 01:21:59 +00:00
Nick Zavaritsky
711779e829 Document linux_capabilities in builds section 2024-10-23 17:00:48 -04:00
dependabot[bot]
4761e07a0d
Bump actions/upload-artifact from 4.4.2 to 4.4.3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.4.2 to 4.4.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](84480863f2...b4b15b8c7c)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-23 07:08:07 +00:00
Carlos Tadeu Panato Junior
43baebd2d8
Merge pull request #1429 from ko-build/dependabot/github_actions/github/codeql-action-3.27.0
Bump github/codeql-action from 3.26.12 to 3.27.0
2024-10-23 09:06:30 +02:00
dependabot[bot]
52faaf51f3
Bump github/codeql-action from 3.26.12 to 3.27.0
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.12 to 3.27.0.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](c36620d31a...662472033e)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-23 01:25:28 +00:00
Chris Weyl
903da574dc Remove remaining references to vendor/
The vendor directory was removed in 38a1feb0, but it lives on in some
places (largely development/contribution and linting).  This change
removes those remaining references.

Signed-off-by: Chris Weyl <cweyl@ibm.com>
2024-10-16 16:23:55 -04:00
Jeff Mendoza
93c0edaa41 Change OCI Layout publisher to lazy create layout after build.
When using ko with OCI Layout, Git status will always be dirty because the
layout is created before this build. This changes the layout to be created
after the build so that git will be clean. The means that any error creating
the layout won't be seen until after the build.

Signed-off-by: Jeff Mendoza <jlm@jlm.name>
2024-10-16 13:24:29 -04:00
Jeff Mendoza
87a19c69dc Update doc comment
Signed-off-by: Jeff Mendoza <jlm@jlm.name>
2024-10-16 13:24:15 -04:00
Jeff Mendoza
6588ed4c7b Update recorder to lazy create file.
Currently the resolver command creates the image-refs file on
initilization. This causes git to be dirty during builds. This change moves the
file creation to be in the recorder itself and on the first time the Publish()
method is called. This happens after the build so git is clean. This will mean
that any errors on file creation will be reported after the build rather than
before.

Signed-off-by: Jeff Mendoza <jlm@jlm.name>
2024-10-16 13:24:15 -04:00
Gabe Cook
932656364f feat(docs): Add dark theme 2024-10-16 13:20:06 -04:00
Sean Liao
c98cb1e05f allow setting annotations
This adds a new build flag for setting annotations
on image indexes and manifests.
Annotations are no longer copied from the base image.
`org.opencontainers.image.base.digest` and
`org.opencontainers.image.base.name`
are always set to the resolved values.

Usage example:

```sh
ko build --image-annotation foo=bar,fizz=buzz .
```

Fixes #1090
Fixes #1090
Fixes #1231
Fixes #1235
Fixes #1395
2024-10-16 13:18:43 -04:00
Jeff Mendoza
d7fa6010ed Fix links in faq to config page.
Signed-off-by: Jeff Mendoza <jlm@jlm.name>
2024-10-16 13:17:26 -04:00
Carlos Tadeu Panato Junior
7cb72e3be6
Merge pull request #1420 from ko-build/dependabot/github_actions/actions/upload-artifact-4.4.2 2024-10-09 07:14:45 +02:00
dependabot[bot]
5cdf2aff67
Bump actions/upload-artifact from 4.4.1 to 4.4.2
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.4.1 to 4.4.2.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](604373da63...84480863f2)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-09 01:23:35 +00:00
Carlos Tadeu Panato Junior
08c82b9193
Merge pull request #1368 from zregvart/pr/dlv-param-separation
debug: separate target and delve parameters
2024-10-08 19:24:15 +02:00
Carlos Tadeu Panato Junior
f6244ad006
Merge pull request #1417 from ko-build/dependabot/github_actions/github/codeql-action-3.26.12 2024-10-08 08:16:19 +02:00
Carlos Tadeu Panato Junior
e6dd2e9bfd
Merge pull request #1418 from ko-build/dependabot/github_actions/actions/upload-artifact-4.4.1 2024-10-08 08:15:52 +02:00
Carlos Tadeu Panato Junior
5f094cc0ca
Merge pull request #1419 from ko-build/dependabot/github_actions/actions/checkout-4.2.1 2024-10-08 08:04:21 +02:00
dependabot[bot]
9251eb1681
Bump actions/checkout from 4.2.0 to 4.2.1
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](d632683dd7...eef61447b9)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-08 01:04:14 +00:00
dependabot[bot]
388619ef60
Bump actions/upload-artifact from 4.4.0 to 4.4.1
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.4.0 to 4.4.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](50769540e7...604373da63)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-08 01:04:07 +00:00
dependabot[bot]
478f50a7c7
Bump github/codeql-action from 3.26.11 to 3.26.12
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.11 to 3.26.12.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](6db8d6351f...c36620d31a)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-08 01:04:05 +00:00
Carlos Tadeu Panato Junior
5812cd1215
Merge pull request #1416 from ko-build/dependabot/github_actions/sigstore/cosign-installer-3.7.0
Bump sigstore/cosign-installer from 3.6.0 to 3.7.0
2024-10-07 10:29:26 +02:00