From 91f8c341115db7bc984ce0ecce3baff8fb0ecf91 Mon Sep 17 00:00:00 2001 From: Chris Weber Date: Thu, 25 Apr 2024 23:14:25 +0200 Subject: [PATCH] Change docker run command to force to use local socket --- .github/workflows/publish.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index aed4544..e0a9dac 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -23,12 +23,12 @@ jobs: uses: docker/build-push-action@v5.3.0 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