Merge pull request 'chore(ci): Use forgejo mirror for common docker images' (#4939) from fnetx/mirror-ci-images into forgejo

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/4939
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
This commit is contained in:
Otto 2024-08-12 14:28:15 +00:00
commit b7fcc5e29d
7 changed files with 15 additions and 14 deletions

View file

@ -38,7 +38,7 @@ jobs:
)
runs-on: docker
container:
image: 'docker.io/node:20-bookworm'
image: 'code.forgejo.org/oci/node:20-bookworm'
steps:
- name: event info
run: |

View file

@ -14,7 +14,7 @@ jobs:
if: ${{ !startsWith(vars.ROLE, 'forgejo-') }}
runs-on: docker
container:
image: 'docker.io/node:20-bookworm'
image: 'code.forgejo.org/oci/node:20-bookworm'
steps:
- uses: https://code.forgejo.org/actions/checkout@v4
- uses: https://code.forgejo.org/actions/setup-go@v4

View file

@ -11,7 +11,7 @@ jobs:
if: ${{ secrets.MIRROR_TOKEN != '' }}
runs-on: docker
container:
image: 'docker.io/node:20-bookworm'
image: 'code.forgejo.org/oci/node:20-bookworm'
steps:
- name: git push {v*/,}forgejo
run: |

View file

@ -9,7 +9,7 @@ jobs:
if: ${{ !startsWith(vars.ROLE, 'forgejo-')
runs-on: docker
container:
image: 'docker.io/node:20-bookworm'
image: 'code.forgejo.org/oci/node:20-bookworm'
steps:
- uses: https://code.forgejo.org/actions/checkout@v3

View file

@ -10,7 +10,7 @@ jobs:
if: ${{ !startsWith(vars.ROLE, 'forgejo-') && contains(github.event.pull_request.labels.*.name, 'worth a release-note') }}
runs-on: docker
container:
image: 'docker.io/node:20-bookworm'
image: 'code.forgejo.org/oci/node:20-bookworm'
steps:
- uses: https://code.forgejo.org/actions/checkout@v3

View file

@ -12,7 +12,7 @@ jobs:
if: ${{ !startsWith(vars.ROLE, 'forgejo-') }}
runs-on: docker
container:
image: 'docker.io/node:20-bookworm'
image: 'code.forgejo.org/oci/node:20-bookworm'
steps:
- name: event info
run: |
@ -29,7 +29,7 @@ jobs:
if: ${{ !startsWith(vars.ROLE, 'forgejo-') }}
runs-on: docker
container:
image: 'docker.io/node:20-bookworm'
image: 'code.forgejo.org/oci/node:20-bookworm'
steps:
- uses: https://code.forgejo.org/actions/checkout@v3
- run: make deps-frontend
@ -42,7 +42,7 @@ jobs:
runs-on: docker
needs: [backend-checks, frontend-checks]
container:
image: 'docker.io/node:20-bookworm'
image: 'code.forgejo.org/oci/node:20-bookworm'
services:
elasticsearch:
image: elasticsearch:7.17.22
@ -96,7 +96,7 @@ jobs:
runs-on: docker
needs: [backend-checks, frontend-checks]
container:
image: 'docker.io/node:20-bookworm'
image: 'code.forgejo.org/oci/node:20-bookworm'
strategy:
matrix:
cacher:
@ -151,7 +151,7 @@ jobs:
runs-on: docker
needs: [backend-checks, frontend-checks]
container:
image: 'docker.io/node:20-bookworm'
image: 'code.forgejo.org/oci/node:20-bookworm'
services:
mysql:
image: 'docker.io/mysql:8-debian'
@ -197,7 +197,7 @@ jobs:
runs-on: docker
needs: [backend-checks, frontend-checks]
container:
image: 'docker.io/node:20-bookworm'
image: 'code.forgejo.org/oci/node:20-bookworm'
services:
minio:
image: bitnami/minio:2024.3.30
@ -207,7 +207,7 @@ jobs:
ldap:
image: docker.io/gitea/test-openldap:latest
pgsql:
image: 'docker.io/postgres:15'
image: 'code.forgejo.org/oci/postgres:15'
env:
POSTGRES_DB: test
POSTGRES_PASSWORD: postgres
@ -248,7 +248,7 @@ jobs:
runs-on: docker
needs: [backend-checks, frontend-checks]
container:
image: 'docker.io/node:20-bookworm'
image: 'code.forgejo.org/oci/node:20-bookworm'
steps:
- uses: https://code.forgejo.org/actions/checkout@v3
- uses: https://code.forgejo.org/actions/setup-go@v4
@ -291,7 +291,7 @@ jobs:
- test-remote-cacher
- test-unit
container:
image: 'docker.io/node:20-bookworm'
image: 'code.forgejo.org/oci/node:20-bookworm'
steps:
- uses: https://code.forgejo.org/actions/checkout@v3
- uses: https://code.forgejo.org/actions/setup-go@v4

View file

@ -105,6 +105,7 @@
"matchDepNames": [
"node",
"docker.io/node",
"code.forgejo.org/oci/node",
"docker.io/library/node"
],
"groupName": "nodejs packages",