|
@@ -169,15 +169,6 @@ jobs:
|
|
|
- name: Set up Docker Buildx
|
|
- name: Set up Docker Buildx
|
|
|
uses: docker/setup-buildx-action@v1
|
|
uses: docker/setup-buildx-action@v1
|
|
|
|
|
|
|
|
- - name: Cache Docker layers
|
|
|
|
|
- uses: actions/cache@v3
|
|
|
|
|
- with:
|
|
|
|
|
- path: /tmp/.buildx-cache
|
|
|
|
|
- key: ${{ runner.os }}-buildx-app-${{ matrix.flavor }}-${{ github.sha }}
|
|
|
|
|
- restore-keys: |
|
|
|
|
|
- ${{ runner.os }}-buildx-app-${{ matrix.flavor }}-
|
|
|
|
|
- ${{ runner.os }}-buildx-app-
|
|
|
|
|
-
|
|
|
|
|
- name: Build and push
|
|
- name: Build and push
|
|
|
uses: docker/build-push-action@v2
|
|
uses: docker/build-push-action@v2
|
|
|
with:
|
|
with:
|
|
@@ -187,8 +178,9 @@ jobs:
|
|
|
push: true
|
|
push: true
|
|
|
build-args: |
|
|
build-args: |
|
|
|
flavor=${{ matrix.flavor }}
|
|
flavor=${{ matrix.flavor }}
|
|
|
- cache-from: type=local,src=/tmp/.buildx-cache
|
|
|
|
|
- cache-to: type=local,mode=max,dest=/tmp/.buildx-cache-new
|
|
|
|
|
|
|
+ builder: ${{ steps.buildx.outputs.name }}
|
|
|
|
|
+ cache-from: type=gha
|
|
|
|
|
+ cache-to: type=gha,mode=max
|
|
|
tags: ${{ steps.meta.outputs.tags }}
|
|
tags: ${{ steps.meta.outputs.tags }}
|
|
|
|
|
|
|
|
- name: Move cache
|
|
- name: Move cache
|