|
|
|
@ -54,13 +54,15 @@ jobs:
|
|
|
|
|
- name: Setup Docker buildx
|
|
|
|
|
uses: docker/setup-buildx-action@v2
|
|
|
|
|
|
|
|
|
|
- name: Cache Docker layers
|
|
|
|
|
uses: actions/cache@v3
|
|
|
|
|
with:
|
|
|
|
|
path: /tmp/.buildx-cache
|
|
|
|
|
key: ${{ runner.os }}-buildx-${{ github.sha }}
|
|
|
|
|
restore-keys: |
|
|
|
|
|
${{ runner.os }}-buildx-
|
|
|
|
|
# This step is being disabled because the runner is on a self-hosted machine
|
|
|
|
|
# where the cache will stick between runs.
|
|
|
|
|
# - name: Cache Docker layers
|
|
|
|
|
# uses: actions/cache@v3
|
|
|
|
|
# with:
|
|
|
|
|
# path: /tmp/.buildx-cache
|
|
|
|
|
# key: ${{ runner.os }}-buildx-${{ github.sha }}
|
|
|
|
|
# restore-keys: |
|
|
|
|
|
# ${{ runner.os }}-buildx-
|
|
|
|
|
|
|
|
|
|
# Login against a Docker registry except on PR
|
|
|
|
|
# https://github.com/docker/login-action
|
|
|
|
|