Skip to content

Commit 22ab7ac

Browse files
committed
ci: change cache-to and cache-from to registry
1 parent 4368a5f commit 22ab7ac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/benchmark.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
file: ./docker/benchmarker/Dockerfile
4949
tags: ${{ env.UNAME }}/ishocon2-app-bench:latest
5050
cache-from: type=registry,ref=${{ env.UNAME }}/ishocon2-app-bench:latest
51-
cache-to: type=inline
51+
cache-to: type=registry,ref=${{ env.UNAME }}/ishocon2-app-bench:latest
5252
- name: Build and push base image
5353
uses: docker/build-push-action@v5
5454
with:
@@ -57,7 +57,7 @@ jobs:
5757
file: ./docker/app/base/Dockerfile
5858
tags: ${{ env.UNAME }}/ishocon2-app-base:latest
5959
cache-from: type=registry,ref=${{ env.UNAME }}/ishocon2-app-base:latest
60-
cache-to: type=inline
60+
cache-to: type=registry,ref=${{ env.UNAME }}/ishocon2-app-base:latest
6161
- name: Build and push app image
6262
uses: docker/build-push-action@v5
6363
with:
@@ -66,7 +66,7 @@ jobs:
6666
tags: ${{ env.UNAME }}/ishocon2-app-${{ env.ISHOCON_APP_LANG }}:latest
6767
file: ./docker/app/${{ env.ISHOCON_APP_LANG }}/Dockerfile
6868
cache-from: type=registry,ref=${{ env.UNAME }}/ishocon2-app-${{ env.ISHOCON_APP_LANG }}:latestst
69-
cache-to: type=inline
69+
cache-to: type=registry,ref=${{ env.UNAME }}/ishocon2-app-bench:latest
7070
build-args: BASE_IMAGE=${{ env.UNAME }}/ishocon2-app-base:latest
7171
- run: make build
7272
timeout-minutes: 10

0 commit comments

Comments
 (0)