diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1408f18..07f5908 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -48,9 +48,11 @@ jobs: - name: Set up QEMU uses: docker/setup-qemu-action@v2 + options: '-e DOCKER_HOST=unix:///run/user/1000/docker.sock -v /var/run/user/1000/docker.sock:/run/user/1000/docker.sock' - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 + options: '-e DOCKER_HOST=unix:///run/user/1000/docker.sock -v /var/run/user/1000/docker.sock:/run/user/1000/docker.sock' # - name: Get Gitea Tags # id: get_tags @@ -66,6 +68,7 @@ jobs: - name: Build and push Docker image uses: docker/build-push-action@v2 + options: '-e DOCKER_HOST=unix:///run/user/1000/docker.sock -v /var/run/user/1000/docker.sock:/run/user/1000/docker.sock' with: context: "{{defaultContext}}" push: true