From e918750761e666ea502112fc60af01be5b3af087 Mon Sep 17 00:00:00 2001 From: Merith-TK Date: Sat, 28 Dec 2024 17:53:23 +0000 Subject: [PATCH] make tests use locally built image --- .forgejo/workflows/example-docker-compose.yml | 5 +++++ examples/docker-compose/compose-forgejo-and-runner.yml | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/example-docker-compose.yml b/.forgejo/workflows/example-docker-compose.yml index 6e017db..2018d08 100644 --- a/.forgejo/workflows/example-docker-compose.yml +++ b/.forgejo/workflows/example-docker-compose.yml @@ -25,6 +25,11 @@ jobs: docker version docker compose version + - name: Build runner container + run: | + docker build -t runner-local . + docker tag runner-local code.forgejo.org/forgejo/runner:local + - name: run the example run: | set -x diff --git a/examples/docker-compose/compose-forgejo-and-runner.yml b/examples/docker-compose/compose-forgejo-and-runner.yml index 4794985..19e7078 100644 --- a/examples/docker-compose/compose-forgejo-and-runner.yml +++ b/examples/docker-compose/compose-forgejo-and-runner.yml @@ -51,7 +51,7 @@ services: - 8080:3000 runner-register: - image: code.forgejo.org/forgejo/runner:3.4.1 + image: code.forgejo.org/forgejo/runner:local links: - docker-in-docker - forgejo @@ -76,7 +76,7 @@ services: ' runner-daemon: - image: code.forgejo.org/forgejo/runner:3.4.1 + image: code.forgejo.org/forgejo/runner:local links: - docker-in-docker - forgejo