Skip to content

Commit 4d4a5a5

Browse files
committed
Use GitHub Cache base CE image
1 parent 110ba29 commit 4d4a5a5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/build-container.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ jobs:
3232
- name: checkout compute-entrypoint
3333
uses: actions/checkout@v2
3434

35+
- name: Cache base image
36+
uses: actions/cache@v2
37+
with:
38+
path: /tmp/.buildx-cache
39+
key: base-${{ matrix.repo }}-buildx-${{ github.sha }}
40+
3541
- id: generate-tag-list
3642
env:
3743
REPO: ${{ matrix.repo }}
@@ -55,6 +61,7 @@ jobs:
5561
with:
5662
build-args: BASE_YUM_REPO=${{ matrix.repo }}
5763
tags: "${{ steps.generate-tag-list.outputs.taglist }}"
64+
cache-to: type=local,dest=/tmp/.buildx-cache
5865

5966
dispatch:
6067
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)