ci: use new ci image

pull/361/head
Michael Kriese 2024-12-04 10:18:57 +01:00
parent 6c0527e8f7
commit b34efbce8b
No known key found for this signature in database
GPG Key ID: F8D7748549A5986A
1 changed files with 1 additions and 3 deletions

View File

@ -20,7 +20,7 @@ jobs:
if: github.repository_owner != 'forgejo-integration' && github.repository_owner != 'forgejo-experimental' && github.repository_owner != 'forgejo-release'
runs-on: docker
container:
image: 'code.forgejo.org/oci/node:20-bookworm'
image: 'code.forgejo.org/oci/ci:1'
services:
forgejo:
@ -65,8 +65,6 @@ jobs:
- name: check the forgejo server is responding
run: |
apt-get update -qq
apt-get install -y -qq jq curl retry
sleep 10 # matches the sleep 10 in the bootstrap of the Forgejo instance
# in case of a slow machine, give it time to bootstrap
retry --delay=10 --times=6 bash -c 'test $FORGEJO_ADMIN_USER = $(curl -sS http://$FORGEJO_ADMIN_USER:$FORGEJO_ADMIN_PASSWORD@$FORGEJO_HOST_PORT/api/v1/user | jq --raw-output .login)'