This commit is contained in:
parent
8d9c88d2e2
commit
f000fc41b5
1 changed files with 1 additions and 5 deletions
|
|
@ -9,22 +9,18 @@ on:
|
|||
env:
|
||||
RAILS_ENV: production
|
||||
CONTAINER_IMAGE: ${{ secrets.REGISTRY_IMAGE }}:${{ github.ref_name }}-${{ github.sha }}
|
||||
DOCKER_HOST: tcp://localhost:2375
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: node:22 # Optionally install Docker CLI in a step
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set Docker host
|
||||
run: export DOCKER_HOST=tcp://forgejo-runner:2375
|
||||
|
||||
- name: Install Docker CLI
|
||||
run: apt-get update && apt-get install -y docker.io
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue