Skip to content

Commit

Permalink
refactor: Remove socket bind mount
Browse files Browse the repository at this point in the history
  • Loading branch information
khalwat committed Dec 2, 2024
1 parent d165916 commit 57be12a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/fly-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 57be12a

Please sign in to comment.