buildx/build
Justin Chadwell 70682b043e build: refactor reference parsing for image layouts
We allow any valid image reference format for the oci-layout, not just
limiting to name@digest, we additionally allow images of the form
name:tag@digest now.

The name of the reference is used to find the local directory to lookup
the store in, while the tag and digest are attached to a random identity
to generate the dummy reference sent to the oci-layout context.

This separation of the target to replace and the value to replace it
with ensures that any tag or digest set in the client is properly sent
across to the server. The tag is used when a digest was not specified,
and it is resolved in the context of the local directory before being
sent, using the same helpers as we use for the local cache expoter.

Signed-off-by: Justin Chadwell <me@jedevc.com>
2022-12-14 16:53:10 +00:00
..
build.go build: refactor reference parsing for image layouts 2022-12-14 16:53:10 +00:00
git.go Support empty env var when it can't be unset 2022-10-03 18:36:06 +02:00
git_test.go Support empty env var when it can't be unset 2022-10-03 18:36:06 +02:00
url.go Remove uses of deprecated io/ioutil 2022-03-10 01:46:06 +01:00
utils.go build: skip "host-gateway" validation with moby driver 2022-12-02 13:53:13 +01:00