This commit is contained in:
6
.github/workflows/docker-image.yml
vendored
6
.github/workflows/docker-image.yml
vendored
@ -49,7 +49,6 @@ jobs:
|
|||||||
uses: docker/build-push-action@v3
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
# platforms: linux/amd64,linux/arm/v7,linux/arm64
|
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
push: ${{ github.event_name != 'pull_request' }}
|
push: ${{ github.event_name != 'pull_request' }}
|
||||||
tags: |
|
tags: |
|
||||||
@ -58,10 +57,7 @@ jobs:
|
|||||||
cache-from: type=local,src=${{ runner.temp }}/.buildx-cache
|
cache-from: type=local,src=${{ runner.temp }}/.buildx-cache
|
||||||
cache-to: type=local,dest=${{ runner.temp }}/.buildx-cache-new,mode=max
|
cache-to: type=local,dest=${{ runner.temp }}/.buildx-cache-new,mode=max
|
||||||
|
|
||||||
- # Temp fix
|
- name: Move cache
|
||||||
# https://github.com/docker/build-push-action/issues/252
|
|
||||||
# https://github.com/moby/buildkit/issues/1896
|
|
||||||
name: Move cache
|
|
||||||
run: |
|
run: |
|
||||||
rm -rf ${{ runner.temp }}/.buildx-cache
|
rm -rf ${{ runner.temp }}/.buildx-cache
|
||||||
mv ${{ runner.temp }}/.buildx-cache-new ${{ runner.temp }}/.buildx-cache
|
mv ${{ runner.temp }}/.buildx-cache-new ${{ runner.temp }}/.buildx-cache
|
||||||
|
Reference in New Issue
Block a user