0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 15:23:14 -05:00

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 runs-on: docker
container: container:
image: 'docker.io/node:20-bookworm' image: 'code.forgejo.org/oci/node:20-bookworm'
steps: steps:
- name: event info - name: event info
run: | run: |

View file

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

View file

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

View file

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

View file

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

View file

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