Cache again
Some checks failed
release-nightly / release-image (push) Failing after 17m29s

This commit was merged in pull request #3.
This commit is contained in:
2023-08-21 23:59:34 +02:00
parent cfa0055488
commit fa067061b3
2 changed files with 9 additions and 7 deletions

View File

@@ -39,6 +39,7 @@ jobs:
uses: docker/build-push-action@v4
env:
ACTIONS_RUNTIME_TOKEN: '' # See https://gitea.com/gitea/act_runner/issues/119
IMAGE_NAME: gitea.marijndoeve.nl/marijn/${{ steps.meta.outputs.REPO_NAME }}
with:
context: .
file: ./Containerfile
@@ -46,6 +47,6 @@ jobs:
linux/arm/v7
push: true
tags: |
gitea.marijndoeve.nl/marijn/${{ steps.meta.outputs.REPO_NAME }}:${{ env.DOCKER_LATEST }}
cache-from: type=registry,ref=gitea.marijndoeve.nl/marijn/${{ steps.meta.outputs.REPO_NAME }}:buildcache
cache-to: type=registry,ref=gitea.marijndoeve.nl/marijn/${{ steps.meta.outputs.REPO_NAME }}:buildcache,mode=max
${{ env.IMAGE_NAME }}:${{ env.DOCKER_LATEST }}
cache-from: type=registry,ref=${{ env.IMAGE_NAME }}:buildcache
cache-to: type=registry,ref=${{ env.IMAGE_NAME }}:buildcache,mode=max