1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-08-16 18:01:34 +00:00

fix(ci): use code.forgejo.org instead of the docker hub (#762)

- use https://code.forgejo.org/forgejo/hello-world-docker-action/ that is a copy of https://github.com/actions/hello-world-docker-action/ with a patch to not use the docker hub
- node:16-buster-slim replaced with code.forgejo.org/oci/node:22 and checked that whatever is tested with it is not likely to be disturbed by the change in version
- change base images of Dockerfile to be from code.forgejo.org/oci/ equivalents
- use code.forgejo.org/forgejo/runner:8 instead of catthehacker/ubuntu:runner-latest

To test services:

- use code.forgejo.org/oci/bitnami/postgresql:16 instead of postgres:12
- use code.forgejo.org/oci/apache-git:1 instead of nginx:latest

Skip flaky test and [open an issue for it](https://code.forgejo.org/forgejo/runner/issues/763).

---

<!--start release-notes-assistant-->
<!--URL:https://code.forgejo.org/forgejo/runner-->
- bug fixes
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/762): <!--number 762 --><!--line 0 --><!--description Zml4KGNpKTogdXNlIGNvZGUuZm9yZ2Vqby5vcmcgaW5zdGVhZCBvZiB0aGUgZG9ja2VyIGh1Yg==-->fix(ci): use code.forgejo.org instead of the docker hub<!--description-->
<!--end release-notes-assistant-->

Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/762
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Earl Warren <contact@earl-warren.org>
Co-committed-by: Earl Warren <contact@earl-warren.org>
This commit is contained in:
Earl Warren 2025-07-29 15:37:16 +00:00 committed by earl-warren
parent a6fa98926c
commit a9ecd52de8
No known key found for this signature in database
GPG key ID: F128CBE6AB3A7201
17 changed files with 47 additions and 49 deletions

View file

@ -5,19 +5,18 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: docker://node:16-buster-slim
- uses: docker://code.forgejo.org/oci/node:22
with:
somekey: somevalue
args: echo ${INPUT_SOMEKEY} | grep somevalue
- uses: docker://node:16-buster-slim
- uses: docker://code.forgejo.org/oci/node:22
with:
args: -v
- uses: docker://node:16-buster-slim
- uses: docker://code.forgejo.org/oci/node:22
with:
entrypoint: /bin/sh
args: -c -- uname -a
- uses: docker://node:16-buster-slim
- uses: docker://code.forgejo.org/oci/node:22
with:
entrypoint: /bin/sh
args: -c 'uname -a'