mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-09-15 18:57:01 +00:00
Fix for using docker inside runner's container (#175)
#153 Co-authored-by: zwanto <antoine.hamon@protonmail.com> Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/175 Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org> Co-authored-by: zwanto <zwanto@noreply.code.forgejo.org> Co-committed-by: zwanto <zwanto@noreply.code.forgejo.org>
This commit is contained in:
parent
eb89a98c6a
commit
6980165781
3 changed files with 38 additions and 14 deletions
|
@ -1,8 +1,6 @@
|
|||
# Copyright 2023 The Forgejo Authors.
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
|
||||
demo-workflow:
|
||||
|
@ -20,6 +18,7 @@ services:
|
|||
git init --initial-branch=main ;
|
||||
mkdir -p .forgejo/workflows ;
|
||||
echo "{ on: [push], jobs: { test: { runs-on: docker, steps: [ {uses: actions/checkout@v4}, { run: echo All Good } ] } } }" > .forgejo/workflows/demo.yml ;
|
||||
echo "{ on: [push], jobs: { test_docker: { runs-on: ubuntu-22.04, steps: [ { run: docker info } ] } } }" > .forgejo/workflows/demo_docker.yml ;
|
||||
git add . ;
|
||||
git config user.email root@example.com ;
|
||||
git config user.name username ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue