Commit Graph

7 Commits

Author SHA1 Message Date
Tom Chauveau
19c0f999f4
Fix export cache issue
Resolve #1551 and #1020.
We are never returning the result of solved operations so Buildkit could not
cache the layer.
This commit implements a simple system to forward operations' result to the
main build to cache it.

Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2022-03-31 20:36:50 +02:00
Helder Correia
7a8153910c
Add export and load for dagger images
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-25 15:04:29 -01:00
Tom Chauveau
c3a6d80716
Complete exportImageConfig to bind platform metadata.
Resolves #1802

Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2022-03-22 12:21:25 +01:00
guillaume
ac30274d96 Implement modifications for engine.#Pull, engine.#Push, docker.#Push, docker.#Pull
Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2022-01-31 23:14:35 +01:00
Helder Correia
c276a8b8ba
Make env in ImageConfig a map
Fields in CUE were renamed to the lowercase version of Dockerfile instructions.

There's now opportunity to make other fields simpler to use (e.g., healthcheck), this commit is focused on env.

Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-01-26 17:12:08 -01:00
Joel Longtine
8b4d02540f We need to use the State() function, rather than Result().ToState()
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-01-03 14:34:49 -07:00
Sam Alba
9d3cd180a2 stdlib: implemented engine.#Push
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-12-20 17:16:40 -08:00