Skip to content

Commit

Permalink
Update vwsfriend-python-docker-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tillsteinbach authored Oct 12, 2021
1 parent 9d78f04 commit 0fa0e3a
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions .github/workflows/vwsfriend-python-docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,6 @@ jobs:
uses: docker/[email protected]
- name: Setup Docker Buildx
uses: docker/[email protected]
- name: Cache Docker layers
uses: actions/[email protected]
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-vwsfriend-release-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-vwsfriend-release-
- name: Login to DockerHub
uses: docker/[email protected]
with:
Expand All @@ -111,14 +104,5 @@ jobs:
platforms: linux/amd64,linux/arm/v7,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache-new
# This ugly bit is necessary if you don't want your cache to grow forever
# till it hits GitHub's limit of 5GB.
# 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
cache-from: type=gha
cache-to: type=gha,mode=max

0 comments on commit 0fa0e3a

Please sign in to comment.