From 57be12a943d1f8a2d0aa2a64e3bc125d19d76c8e Mon Sep 17 00:00:00 2001 From: Andrew Welch Date: Sun, 1 Dec 2024 19:04:09 -0500 Subject: [PATCH] refactor: Remove socket bind mount --- .github/workflows/fly-deploy.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/fly-deploy.yml b/.github/workflows/fly-deploy.yml index d2cb18316..18f396b07 100644 --- a/.github/workflows/fly-deploy.yml +++ b/.github/workflows/fly-deploy.yml @@ -23,11 +23,10 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Deploy to fly.io uses: superfly/flyctl-actions/setup-flyctl@master - # Bind the Docker socket for "Docker in Docker" as per: https://jpetazzo.github.io/2015/09/03/do-not-use-docker-in-docker-for-ci/ - run: | docker container run --rm -t -v "${{ github.workspace }}":/app -v go-modules:/go/pkg/mod ghcr.io/starfederation/datastar-dev -c 'git lfs fetch --all && git lfs pull && git lfs checkout' docker container run --rm -t -v "${{ github.workspace }}":/app -v go-modules:/go/pkg/mod ghcr.io/starfederation/datastar-dev -c 'task tools' - docker container run --rm -t -v "${{ github.workspace }}":/app -v go-modules:/go/pkg/mod -v /var/run/docker.sock:/var/run/docker.sock ghcr.io/starfederation/datastar-dev -c 'task support' + docker container run --rm -t -v "${{ github.workspace }}":/app -v go-modules:/go/pkg/mod ghcr.io/starfederation/datastar-dev -c 'task support' flyctl deploy --local-only env: FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}