ci: remove docker caching to save space after build (#3574)

pull/3015/head^2
Ryan Cohen 1 year ago committed by GitHub
parent f7b4dfcac4
commit 317110855e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -39,13 +39,6 @@ jobs:
uses: docker/setup-qemu-action@v2 uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2 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-
- name: Log in to Docker Hub - name: Log in to Docker Hub
uses: docker/login-action@v2 uses: docker/login-action@v2
with: with:
@ -71,15 +64,6 @@ jobs:
sctx/overseerr:${{ github.sha }} sctx/overseerr:${{ github.sha }}
ghcr.io/sct/overseerr:develop ghcr.io/sct/overseerr:develop
ghcr.io/sct/overseerr:${{ github.sha }} ghcr.io/sct/overseerr:${{ github.sha }}
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max
- # Temporary 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
discord: discord:
name: Send Discord Notification name: Send Discord Notification

Loading…
Cancel
Save