summaryrefslogtreecommitdiffstats
path: root/examples/docker-compose/compose-demo-workflow.yml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/docker-compose/compose-demo-workflow.yml')
-rw-r--r--examples/docker-compose/compose-demo-workflow.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/docker-compose/compose-demo-workflow.yml b/examples/docker-compose/compose-demo-workflow.yml
index 90e7d52..7f7beaa 100644
--- a/examples/docker-compose/compose-demo-workflow.yml
+++ b/examples/docker-compose/compose-demo-workflow.yml
@@ -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 ;