9 Commits
Author SHA1 Message Date
Doron SomechandAlex Viscreanu 57fd639926 fix: use version 1.7.0 of kaniko
Version 1.8.0 and above breaks reproducible builds.

https://github.com/GoogleContainerTools/kaniko/issues/2005
2022-05-13 16:59:27 +02:00
Doron SomechandAlex Viscreanu c97b90ade3 chore(deps): update crane to 0.8.0 2022-05-13 16:59:27 +02:00
Doron SomechandAlex Viscreanu 1200c08dba fix: downloading manifest doesn't work for github packages 2022-05-13 16:59:27 +02:00
Doron SomechandAlex Viscreanu e03153c634 fix: don't push image when skip_unchanged_digest is set
Kaniko default behavior changed, `--tarPath` alone is not enough to skip the push to registry, `--no-push` is now required as well.

Reference:
GoogleContainerTools/kaniko#1503
2021-09-21 11:52:28 +02:00
Doron SomechandAlex Viscreanu 5e25ae9c63 refactor: Use google/go-containerregistry to push image 2020-08-05 17:53:40 +02:00
Doron SomechandAlex Viscreanu daf41b1e54 feat: Add target option 2020-06-22 08:19:55 +02:00
Doron SomechandAlex Viscreanu 79ed56ad90 feat: Add tag_with_latest option for tagging with latest additionally
When skipping the push on unchanged digests, it's not enough to push the current tag,
which is probably semver, we also need to push the latest, so we can later check if
the latest digest equals the currently built image
2020-06-22 08:18:11 +02:00
Doron SomechandAlex Viscreanu 94f437184e feat: Allow custom context path 2020-06-22 08:17:58 +02:00
Doron SomechandAlex Viscreanu 51211d4483 fix(digest): Add support for GitHub's docker registry
Github registry doesn't support digest yet, we need to download the manifest
and calculate the digest manually

Also fixing a few other issues:
 * Multi-stage dockerfiles override /usr/local/lib, moved jq and reg to /kaniko instead
 * The digest was fetched for the current tag, which doesn't exist yet. Fetching digest for the latest tag instead
2020-06-22 08:14:46 +02:00