1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-09-15 18:57:01 +00:00

fix: example uses code.forgejo.org/oci

Otherwise it may get rate limited in the CI verifying it works
This commit is contained in:
Earl Warren 2025-01-15 11:41:24 +01:00
parent 48e0db5ddb
commit 564134560b
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
5 changed files with 14 additions and 13 deletions

View file

@ -4,7 +4,7 @@
services:
demo-workflow:
image: code.forgejo.org/oci/alpine:3.19
image: code.forgejo.org/oci/alpine:3.21
links:
- forgejo
command: >-
@ -14,8 +14,8 @@ services:
cd /srv/demo ;
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 ;
echo "{ on: [push], jobs: { test: { runs-on: node-bookworm, steps: [ {uses: https://code.forgejo.org/actions/checkout@v4}, { run: echo All Good } ] } } }" > .forgejo/workflows/demo.yml ;
echo "{ on: [push], jobs: { test_docker: { runs-on: docker-cli, steps: [ { run: docker info, shell: sh } ] } } }" > .forgejo/workflows/demo_docker.yml ;
git add . ;
git config user.email root@example.com ;
git config user.name username ;