Skip to content

Commit 33b26d6

Browse files
committed
Add buildpack caching
1 parent efa62de commit 33b26d6

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ jobs:
4545
password: ${{ secrets.GITHUB_TOKEN }}
4646
- id: build-image
4747
run: |
48-
pack build imtrand -b paketo-community/rust -B paketobuildpacks/builder-jammy-base:latest
49-
docker image tag imtrand ghcr.io/simonerm/imtrand:next
50-
docker image push ghcr.io/simonerm/imtrand:next
48+
pack build ghcr.io/simonerm/imtrand:next \
49+
--buildpack paketo-community/rust \
50+
--builder paketobuildpacks/builder-jammy-base:latest \
51+
--cache-image ghcr.io/simonerm/imtrand-cache:next \
52+
--publish

0 commit comments

Comments
 (0)