Skip to content

Commit

Permalink
Merge pull request #48 from useplunk/dev-driaug-actions
Browse files Browse the repository at this point in the history
Removed caching from workflow
  • Loading branch information
driaug authored Aug 10, 2024
2 parents d9a6930 + 3f0eb3a commit 4fcb966
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,6 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Cache Docker layers
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Get version from package.json
id: get_version
run: echo "VERSION=$(jq -r .version package.json)" >> $GITHUB_ENV
Expand All @@ -42,14 +34,4 @@ jobs:
tags: |
driaug/plunk:${{ env.VERSION }}
driaug/plunk:latest
platforms: linux/amd64,linux/arm64
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max

# 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
platforms: linux/amd64,linux/arm64

0 comments on commit 4fcb966

Please sign in to comment.