Skip to content

Commit 9b971c6

Browse files
committed
Add build cache
1 parent 9de7a14 commit 9b971c6

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/push.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
username: ${{ secrets.DOCKER_USERNAME }}
1414
password: ${{ secrets.DOCKER_TOKEN }}
1515
repository: fspnetwork/php
16+
cache: fspnetwork/php
1617
tags: edge
1718
publish-to-github-pkg:
1819
name: Publish to GitHub Package Registry
@@ -25,4 +26,5 @@ jobs:
2526
password: ${{ secrets.GITHUB_PR_TOKEN }}
2627
registry: docker.pkg.github.com
2728
repository: fspnet/php/php
29+
cache: fspnet/php/php
2830
tags: edge

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,14 @@ jobs:
1515
username: ${{ secrets.DOCKER_USERNAME }}
1616
password: ${{ secrets.DOCKER_TOKEN }}
1717
repository: fspnetwork/php
18+
cache: fspnetwork/php
1819
auto_tag: true
1920
- uses: jerray/publish-docker-action@master
2021
with:
2122
username: ${{ secrets.DOCKER_USERNAME }}
2223
password: ${{ secrets.DOCKER_TOKEN }}
2324
repository: fspnetwork/php
25+
cache: fspnetwork/php
2426
tags: latest
2527
publish-to-github-pkg:
2628
name: Publish to GitHub Package Registry
@@ -33,11 +35,13 @@ jobs:
3335
password: ${{ secrets.GITHUB_PR_TOKEN }}
3436
registry: docker.pkg.github.com
3537
repository: fspnet/php/php
38+
cache: fspnet/php/php
3639
auto_tag: true
3740
- uses: jerray/publish-docker-action@master
3841
with:
3942
username: ${{ secrets.GITHUB_USERNAME }}
4043
password: ${{ secrets.GITHUB_PR_TOKEN }}
4144
registry: docker.pkg.github.com
4245
repository: fspnet/php/php
46+
cache: fspnet/php/php
4347
tags: latest

0 commit comments

Comments
 (0)