Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Set builder

Roland Geider4615460bf115
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
index f35069c0b..c1a05f925 100644
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@ -70,6 +70,7 @@ jobs:
uses: docker/[email protected]
- name: Set up Docker Buildx
+ id: buildx
uses: docker/[email protected]
with:
install: true
@@ -94,12 +95,14 @@ jobs:
with:
context: .
file: extras/docker/development/Dockerfile
+ builder: ${{ steps.buildx.outputs.name }}
platforms: ${{ matrix.platform }}
labels: ${{ steps.meta.outputs.labels }}
outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true
+
+ # https://github.com/moby/buildkit#--export-cache-options
+ # https://github.com/docker/buildx#--cache-tonametypetypekeyvalue
cache-from: type=local,src=/tmp/.buildx-cache
- # More: https://github.com/moby/buildkit#--export-cache-options
- # And: https://github.com/docker/buildx#--cache-tonametypetypekeyvalue
cache-to: type=local,mode=max,dest=/tmp/.buildx-cache-new
- name: Export digest