Skip to content

Commit

Permalink
build: Use Github cache for docker build
Browse files Browse the repository at this point in the history
The inline cache does not seem to cache the multi-stage build.
This switches to using the github actions cache instead.
  • Loading branch information
AllexVeldman committed Oct 17, 2024
1 parent c65c0b6 commit ace4247
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ jobs:
with:
context: ./
file: docker/Dockerfile
cache-from: type=registry,ref=ghcr.io/allexveldman/pyoci:latest
cache-to: type=inline
cache-from: type=gha
cache-to: type=gha,mode=max
load: true
push: ${{ inputs.publish || false }}
tags: ${{ steps.meta.outputs.tags }}
Expand Down

0 comments on commit ace4247

Please sign in to comment.