compose/pkg
Tobias Schlatter e68a65737b
Some checks are pending
ci / validate (lint) (push) Waiting to run
ci / validate (relay-lint) (push) Waiting to run
ci / validate (relay-test) (push) Waiting to run
ci / validate (validate-docs) (push) Waiting to run
ci / validate (validate-go-mod) (push) Waiting to run
ci / validate (validate-headers) (push) Waiting to run
ci / validate (validate-mocks) (push) Waiting to run
ci / binary (push) Waiting to run
ci / binary-finalize (push) Blocked by required conditions
ci / bin-image-test (push) Waiting to run
ci / relay-image-test (push) Waiting to run
ci / test (push) Waiting to run
ci / e2e (plugin, oldstable, graphdriver) (push) Waiting to run
ci / e2e (standalone, oldstable, graphdriver) (push) Waiting to run
ci / e2e (plugin, stable, containerd) (push) Waiting to run
ci / e2e (plugin, stable, graphdriver) (push) Waiting to run
ci / e2e (standalone, stable, containerd) (push) Waiting to run
ci / e2e (standalone, stable, graphdriver) (push) Waiting to run
ci / e2e (plugin, test, graphdriver, jobs extension) (push) Waiting to run
ci / coverage (push) Blocked by required conditions
ci / ci-ok (push) Blocked by required conditions
ci / release (push) Blocked by required conditions
merge / bin-image-prepare (push) Waiting to run
merge / bin-image (push) Blocked by required conditions
merge / relay-image (push) Waiting to run
merge / module-image (push) Waiting to run
Scorecards supply-chain security / Scorecards analysis (push) Waiting to run
zizmor / zizmor (push) Waiting to run
feat(oci): directly load from cache if possible
Fixes #14460.

If an oci artifact is sha-pinned and we have it in the cache, don't
even talk to the registry.

The primary use case is operational safety in case of registry failure:
This allows to still work with a compose config that
`includes: oci://` if it has been pulled before.

This aligns the behavior with docker itself: images are kept locally,
so it is not necessary for the registry to be up to, say, recreate an
existing container with a modified environment.

Signed-off-by: Tobias Schlatter <schlatter.tobias@gmail.com>
2026-11-26 16:07:36 +01:00
..
api run: trigger a job through the engine like a service 2026-11-17 13:48:57 +01:00
bridge refactor(compose): share the label filter builders 2026-10-29 11:59:43 +01:00
compose fix(hooks): stop or restart a container whose pre_stop hook cannot run 2026-11-24 15:21:31 +01:00
dryrun feat(registry): use the Docker Desktop Hub session for Docker Hub credentials 2026-10-07 14:24:28 +02:00
mocks run: trigger a job through the engine like a service 2026-11-17 13:48:57 +01:00
remote feat(oci): directly load from cache if possible 2026-11-26 16:07:36 +01:00
utils fix: make e2e tests pass reliably locally with Docker Desktop 2026-05-18 10:55:41 +02:00
watch golangci-lint: enable perfsprint linter 2026-09-10 10:25:34 +02:00