attempt to use host docker
Some checks failed
default / build-and-deploy (push) Failing after 4s

This commit is contained in:
Pavel 2025-03-30 17:32:16 +03:00
parent a099c6fec6
commit 5d53280e3c

View file

@ -8,6 +8,18 @@ on:
jobs:
build-and-deploy:
runs-on: docker
container:
image: data.forgejo.org/oci/node:20-bullseye
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- /usr/bin/docker:/usr/bin/docker:ro
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_ACTOR: ${{ github.actor }}
GITHUB_REPOSITORY_OWNER: ${{ github.repository_owner }}
GITHUB_REPOSITORY_NAME: ${{ github.repository_name }}
GITHUB_REPOSITORY: ${{ github.repository }}
GITHUB_SERVER_URL: https://git.neur0tx.site
steps:
- name: Checkout repository
uses: actions/checkout@v4