Commit Graph

2310 Commits

Author SHA1 Message Date
Martin Zihlmann 0f483da361
ADD is cacheable now 2025-05-31 08:59:04 +01:00
Martin Zihlmann 742e75b1ea
fix: ADD learned to cache it's output layer 2025-05-30 17:56:45 +01:00
Martin Zihlmann 685c1a6c5b
Merge pull request #23 from mzihlmann/workdir-cache-2
simplify logic for detecting empty layers
2025-05-29 23:57:38 +01:00
Martin Zihlmann 6a7139eeec
simplify logic for detecting empty layers 2025-05-29 23:45:56 +01:00
Martin Zihlmann db53db7401
Merge pull request #22 from mzihlmann/workdir-cache-2
WORKDIR learned to cache it's potential output layer
2025-05-29 23:35:34 +01:00
Martin Zihlmann 49f24a7395
workdir is cacheable now 2025-05-29 23:23:07 +01:00
Martin Zihlmann 0561cc5664
support empty images in cache to handle WORKDIR w/o implicit folders created 2025-05-29 23:23:06 +01:00
Martin Zihlmann caebb2a538
move ToAbsPath to a function 2025-05-29 21:00:38 +01:00
Martin Zihlmann e39ab33677
fix: WORKDIR learned to cache it's output layer 2025-05-29 21:00:34 +01:00
Martin Zihlmann abc5058865
Merge pull request #21 from mzihlmann/release-v1.24.0-3
add changelog
2025-05-27 23:55:08 +01:00
Martin Zihlmann cf182ee55b
add changelog 2025-05-27 23:54:25 +01:00
Martin Zihlmann edb0058874
Merge pull request #19 from mzihlmann/fix-empty-runs
Fix caching for empty RUN
2025-05-27 23:50:29 +01:00
Martin Zihlmann bded1ff3bb
drop warning again as empty layers are now handled properly 2025-05-27 23:49:55 +01:00
Martin Zihlmann d17896c13f
enable integration tests again 2025-05-27 22:45:38 +01:00
Martin Zihlmann fe3d53b617
dont append layer if known empty 2025-05-27 22:42:36 +01:00
Martin Zihlmann 2d14b6a277
Merge pull request #18 from mzihlmann/warn-about-cache-misses
RUN commands dont specify which files were added
2025-05-27 21:56:57 +01:00
Martin Zihlmann b058214391
RUN commands dont specify which files were added 2025-05-27 21:55:47 +01:00
Martin Zihlmann 8b37861b78
Merge pull request #17 from mzihlmann/ignore-labels
no need for deepcopy
2025-05-27 21:54:44 +01:00
Martin Zihlmann 8e8ad9d19c
no need for deepcopy 2025-05-27 21:20:12 +01:00
Martin Zihlmann ae16beb628
Merge pull request #15 from mzihlmann/integration-test-does-not-test-caching-2
integration tests args overrides
2025-05-27 21:03:40 +01:00
Martin Zihlmann ac6ccd1513
use args overrides to minimize diff 2025-05-26 23:43:45 +01:00
Martin Zihlmann b8005a8f17
allow flexible args overrides 2025-05-26 23:38:48 +01:00
mzihlmann 176f8f6e0b
Merge pull request #12 from mzihlmann/warn-about-cache-misses
warn about potential cache-misses explicitly
2025-05-26 14:53:25 +01:00
Martin Zihlmann febeb075a1
warn about potential cache-misses explicitly 2025-05-26 14:41:17 +01:00
mzihlmann a3c3a200a7
Merge pull request #14 from mzihlmann/integration-test-does-not-test-caching-2
Integration test for caching
2025-05-26 14:13:16 +01:00
Martin Zihlmann 606237f763
drop uncacheable commands 2025-05-26 13:59:17 +01:00
Martin Zihlmann 7c337af03e
typo 2025-05-26 13:59:07 +01:00
Martin Zihlmann adc3543d11
add createdBy for more context 2025-05-26 13:59:06 +01:00
Martin Zihlmann 3dc21dd665
make cache tests more strict - fail on layer digest diff 2025-05-26 13:59:06 +01:00
mzihlmann e4a5153d8b
Merge pull request #11 from mzihlmann/release-v1.24.0-2
add changelog
2025-05-25 20:52:30 +01:00
Martin Zihlmann eba8a61a47
add changelog 2025-05-25 20:50:52 +01:00
mzihlmann 985c371d89
Merge pull request #10 from mzihlmann/fix-broken-links
add integration test
2025-05-25 20:40:32 +01:00
Martin Zihlmann abce7eaf4e
add integration test 2025-05-25 20:27:06 +01:00
mzihlmann 1185dfab2c
Merge pull request #8 from mzihlmann/add-labels-on-last-image
drop whitespace diff
2025-05-25 12:44:21 +01:00
mzihlmann 0fb88e98d6
Merge pull request #7 from mzihlmann/test-workflows
drop image signing
2025-05-25 12:43:58 +01:00
Martin Zihlmann 4f4acef03c
drop image signing 2025-05-25 12:43:13 +01:00
Martin Zihlmann 7a6d0f67db
drop whitespace diff 2025-05-25 11:12:36 +01:00
mzihlmann 9a8d6734ae
Merge pull request #5 from mzihlmann/test-workflows
fix CI
2025-05-25 11:10:08 +01:00
mzihlmann 6f15090e58
Merge pull request #6 from mzihlmann/add-labels-on-last-image
fix: preserve labels from base images
2025-05-25 10:50:48 +01:00
Martin Zihlmann 8b49940016
fix: preserve labels from base images 2025-05-25 10:48:16 +01:00
Martin Zihlmann 2da25aa579
redirect image push 2025-05-24 22:43:45 +01:00
mzihlmann b34d005c0e
Merge pull request #4 from mzihlmann/add-labels-on-last-image
fix: intermediate images should not be labelled
2025-05-24 21:05:23 +01:00
mzihlmann 403e688fae
Merge pull request #3 from mzihlmann/fix-broken-links
fix: cache extract fails on invalid symlinks
2025-05-24 21:04:51 +01:00
mzihlmann 4b93823e20
Merge pull request #2 from mzihlmann/ignore-labels
fix: ignore labels on base image for cache
2025-05-24 21:04:09 +01:00
mzihlmann 604a9ed47e
Merge pull request #1 from mzihlmann/ignore-timestamp
fix: sourceImage's CreatedAt timestamp should not be included in cach…
2025-05-24 21:02:49 +01:00
JeromeJu 1d2bff5959
chore(release): release v1.24.0 (#3487) 2025-05-22 22:13:03 -04:00
Michael Plump 3e56c7fd0f
chore: upgrade all the dependencies to their latest versions (#3454)
* chore: go get -u ./...

* chore: go mod tidy

* chore: go mod vendor

* chore: fix compilation for buildkit >= 0.15.0

* chore: upgrade to Go 1.24

* chore: upgrade the Debian container used in an integration test
2025-05-21 09:31:10 -04:00
JeromeJu e716ced006
fix: --body-file flag for gh issue create (#3465) 2025-04-29 12:46:16 -04:00
dependabot[bot] 950a29bf8d
chore(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.2 (#3446)
Bumps [github.com/golang-jwt/jwt/v4](https://github.com/golang-jwt/jwt) from 4.5.0 to 4.5.2.
- [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.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-29 09:45:12 -04:00
dependabot[bot] 2c3fb7bec9
chore(deps): bump github.com/containerd/containerd from 1.7.20 to 1.7.27 (#3447)
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.7.20 to 1.7.27.
- [Release notes](https://github.com/containerd/containerd/releases)
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md)
- [Commits](https://github.com/containerd/containerd/compare/v1.7.20...v1.7.27)

---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
  dependency-version: 1.7.27
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-29 06:12:20 -04:00