[ci] feat: try to not cache docker build
This commit is contained in:
parent
b675ff7115
commit
f353645575
@ -34,9 +34,17 @@ jobs:
|
|||||||
context: '.'
|
context: '.'
|
||||||
file: 'Dockerfile.linux.amd64'
|
file: 'Dockerfile.linux.amd64'
|
||||||
push: true
|
push: true
|
||||||
cache: false
|
tags: 'cr.simoncor.net/siempie/simoncor-net:latest'
|
||||||
tags: |
|
cache-from: 'type=local,src=/tmp/.buildx-cache'
|
||||||
cr.simoncor.net/siempie/simoncor-net:latest
|
cache-to: 'type=local,dest=/tmp/.buildx-cache-new,mode=max'
|
||||||
|
|
||||||
|
# move cache - temp fix
|
||||||
|
# https://github.com/docker/build-push-action/issues/252
|
||||||
|
# https://github.com/moby/buildkit/issues/1896
|
||||||
|
- name: Move cache
|
||||||
|
run: |
|
||||||
|
rm -rf /tmp/.buildx-cache
|
||||||
|
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
|
||||||
|
|
||||||
|
|
||||||
# ansible deployment
|
# ansible deployment
|
||||||
|
Loading…
Reference in New Issue
Block a user