Skip to content

Commit

Permalink
Change docker run command to force to use local socket
Browse files Browse the repository at this point in the history
  • Loading branch information
webair committed Apr 25, 2024
1 parent 476696d commit 91f8c34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ jobs:
uses: docker/[email protected]
with:
context: .
tags: publish_vite_plugin_vue_examples
tags: publish_vite_plugin_vue_examples:latest
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max
- name: Publish vite_plugin_vue_examples
run: |
docker run -e NPM_AUTH_TOKEN="${{ secrets.NPM_AUTH_TOKEN }}" publish_vite_plugin_vue_examples
exec docker run -v "/var/run/docker.sock":"/var/run/docker.sock" -e NPM_AUTH_TOKEN="${{ secrets.NPM_AUTH_TOKEN }}" publish_vite_plugin_vue_examples
- name: Prevent consistently growing buildx cache
run: |
rm -rf /tmp/.buildx-cache
Expand Down

0 comments on commit 91f8c34

Please sign in to comment.