Skip to content

Commit

Permalink
ci: cache buildx job
Browse files Browse the repository at this point in the history
The current buildx job is taking 60 minutes. This is due to lack of
caching. This commit tries to enable caching as defined in https://docs.docker.com/build/ci/github-actions/cache/
  • Loading branch information
kskarthik committed Jan 1, 2025
1 parent 9b2ada5 commit 6409dbe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- master
# pull_request:

permissions:
contents: read
Expand Down Expand Up @@ -42,3 +41,5 @@ jobs:
push: true
platforms: linux/amd64,linux/arm64
tags: steelscheme/steel:latest
cache-from: type=registry,ref=steelscheme/steel:latest
cache-to: type=inline

0 comments on commit 6409dbe

Please sign in to comment.