Skip to content

Commit

Permalink
why
Browse files Browse the repository at this point in the history
  • Loading branch information
auguwu committed Jun 5, 2022
1 parent 00f5c0d commit 37532df
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/Deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,16 @@ jobs:
platforms: linux/amd64
push: true
cache-from: type=local,src=/tmp/.buildx/cache
cache-to: type=local,dest=/tmp/.buildx/cache
cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max
tags: registry.floofy.dev/noel/site:${{steps.tag.outputs.tag}}

# 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
deploy:
runs-on: ubuntu-latest
needs: build
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,6 @@ WORKDIR /app/noel/floofy.dev

COPY --from=builder /build/floofy.dev/.next .
COPY --from=builder /build/floofy.dev/node_modules .
COPY --from=builder /build/floofy.dev/package.json .

CMD ["yarn", "start"]

0 comments on commit 37532df

Please sign in to comment.