Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 10d36de

Browse files
committedFeb 1, 2025··
Generate OCI-compatible image manifest
1 parent 1cf9ade commit 10d36de

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

‎.github/workflows/tests.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,18 @@ jobs:
5555
# is embedded in the image. See the Cache storage backends:
5656
# https://docs.docker.com/build/cache/backends/
5757
# https://docs.docker.com/reference/cli/docker/buildx/build/#cache-to
58+
#
59+
# Push image and cache separately to GHCR, since otherwise inline mode
60+
# does not support mode=max caching.
61+
# https://github.com/moby/buildkit?tab=readme-ov-file#registry-push-image-and-cache-separately
5862
run: >
5963
docker buildx bake
6064
--allow=fs.read=/home/runner/work/mampf/mampf
6165
-f ./docker-compose.yml -f ./docker-compose.cicd.build.yml
6266
--set mampf.output=type=registry
6367
--set mampf.tags=ghcr.io/mampf-hd/mampftest:cache
6468
--set mampf.cache-from=type=registry,ref=ghcr.io/mampf-hd/mampftest:cache
65-
--set mampf.cache-to=type=registry,ref=ghcr.io/mampf-hd/mampftest:cache,mode=max
69+
--set mampf.cache-to=type=registry,ref=ghcr.io/mampf-hd/mampftest:cache,mode=max,image-manifest=true
6670
6771
unit-tests:
6872
name: Unit tests

0 commit comments

Comments
 (0)
Please sign in to comment.