Skip to content

Commit

Permalink
feat(ci): add gha cache for container build
Browse files Browse the repository at this point in the history
  • Loading branch information
jaygridley committed Nov 13, 2024
1 parent 1e1d534 commit ef3784a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,16 @@ jobs:
type=ref,event=tag
- name: Build image and push to GitHub Container Registry
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta-tag.outputs.tags }}
labels: ${{ steps.meta-tag.outputs.labels }}
annotations: ${{ steps.meta-tag.outputs.annotations }}
cache-from: type=gha
cache-to: type=gha,mode=max
push: true

- name: Image digest
Expand Down

0 comments on commit ef3784a

Please sign in to comment.