Skip to content

Commit

Permalink
Enable caching for docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
mkaring committed Jan 6, 2024
1 parent 911fa1e commit c18948b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ jobs:
platforms: linux/amd64
push: ${{ steps.docker-vars.outputs.has-docker-secret == 'true' }}
tags: ${{ steps.docker-vars.outputs.tags }}
cache-from: type=gha
cache-to: type=gha,mode=max
labels: |
org.opencontainers.image.title=${{ fromJson(steps.repo.outputs.result).name }}
org.opencontainers.image.description=${{ fromJson(steps.repo.outputs.result).description }}
Expand Down

0 comments on commit c18948b

Please sign in to comment.