Skip to content

Commit

Permalink
Cache docker layer
Browse files Browse the repository at this point in the history
  • Loading branch information
shgtkshruch committed Jul 31, 2021
1 parent 68e3228 commit 8746247
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Expand Up @@ -57,7 +57,7 @@ jobs:
file: ./Dockerfile.prod
target: bundle
cache-from: type=local,src=/tmp/.buildx-cache/bundle
cache-to: type=local,dest=/tmp/.buildx-cache-new/bundle
cache-to: type=local,dest=/tmp/.buildx-cache-new/bundle,mode=max

- name: Build npm stage
uses: docker/build-push-action@v2
Expand All @@ -66,7 +66,7 @@ jobs:
file: ./Dockerfile.prod
target: npm
cache-from: type=local,src=/tmp/.buildx-cache/npm
cache-to: type=local,dest=/tmp/.buildx-cache-new/npm
cache-to: type=local,dest=/tmp/.buildx-cache-new/npm,mode=max

- name: Build docker image
id: docker-build
Expand Down

0 comments on commit 8746247

Please sign in to comment.