Skip to content

Commit

Permalink
Generate OCI-compatible image manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
Splines committed Feb 1, 2025
1 parent 1cf9ade commit 10d36de
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,18 @@ jobs:
# is embedded in the image. See the Cache storage backends:
# https://docs.docker.com/build/cache/backends/
# https://docs.docker.com/reference/cli/docker/buildx/build/#cache-to
#
# Push image and cache separately to GHCR, since otherwise inline mode
# does not support mode=max caching.
# https://github.com/moby/buildkit?tab=readme-ov-file#registry-push-image-and-cache-separately
run: >
docker buildx bake
--allow=fs.read=/home/runner/work/mampf/mampf
-f ./docker-compose.yml -f ./docker-compose.cicd.build.yml
--set mampf.output=type=registry
--set mampf.tags=ghcr.io/mampf-hd/mampftest:cache
--set mampf.cache-from=type=registry,ref=ghcr.io/mampf-hd/mampftest:cache
--set mampf.cache-to=type=registry,ref=ghcr.io/mampf-hd/mampftest:cache,mode=max
--set mampf.cache-to=type=registry,ref=ghcr.io/mampf-hd/mampftest:cache,mode=max,image-manifest=true
unit-tests:
name: Unit tests
Expand Down

0 comments on commit 10d36de

Please sign in to comment.