- set cache-from prop in build action to base tag
- align indentation in moonraker.conf
This commit is contained in:
Dieter Schmidt
2021-06-26 15:38:39 +02:00
parent 7dac908bf5
commit 352f8b05d3
2 changed files with 9 additions and 8 deletions

View File

@@ -53,6 +53,7 @@ jobs:
# Set output parameters.
echo ::set-output name=tags::${TAGS}
echo ::set-output name=docker_image::${DOCKER_IMAGE}
echo ::set-output name=base_tag::${BASE_TAG}
- name: Set up QEMU
uses: docker/setup-qemu-action@master
@@ -79,5 +80,5 @@ jobs:
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6
push: true
tags: ${{ steps.prep.outputs.tags }}
cache-from: type=registry,ref=${{ steps.prep.outputs.docker_image }}:latest
cache-from: type=registry,ref=${{ steps.prep.outputs.docker_image }}:${{ steps.prep.outputs.base_tag }}
cache-to: type=inline