Use gha cache

This commit is contained in:
Aleksandar Puharic 2022-09-10 03:07:08 +02:00
parent 870c48c070
commit 946d08341a
Signed by: xZero707
GPG Key ID: 3CC53DCAA9C237BB

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
docker buildx \
--cache-from "type=gha" \
--cache-to "type=gha,mode=max" \
bake --pull --file "build/docker-bake.hcl"
docker buildx bake --set *."cache-from=type=gha"
docker buildx bake --set *."cache-to=type=gha,mode=max"
docker buildx bake --pull --file "build/docker-bake.hcl"