[ci] feat: try to not cache docker build - revert
All checks were successful
Build and Publish / Build (push) Successful in 55s
Build and Publish / Deployment (push) Successful in 27s

This commit is contained in:
Simon Cornet 2024-08-26 17:55:12 +02:00
parent f353645575
commit ab71401ade

View File

@ -35,16 +35,6 @@ jobs:
file: 'Dockerfile.linux.amd64' file: 'Dockerfile.linux.amd64'
push: true push: true
tags: 'cr.simoncor.net/siempie/simoncor-net:latest' tags: 'cr.simoncor.net/siempie/simoncor-net:latest'
cache-from: 'type=local,src=/tmp/.buildx-cache'
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