Update services hosts
Some checks failed
ci / build-image (push) Failing after 3m12s
ci / test-image (push) Has been skipped

This commit is contained in:
Jonathan Cremin 2025-06-13 09:41:37 +01:00
parent 677dfe25af
commit 978591c963
2 changed files with 20 additions and 27 deletions

View file

@ -6,28 +6,6 @@ on:
pull_request:
types: [opened, synchronize, reopened]
services:
database:
image: postgres:10-alpine
env:
POSTGRES_PASSWORD: hostr
POSTGRES_USER: hostr
POSTGRES_DB: hostr
ports:
- 5432:5432
redis:
image: redis:4.0.2-alpine
ports:
- 6379:6379
minio:
image: minio/minio
env:
MINIO_ACCESS_KEY: 7HYV3KPRGQ8Z5YCDNWC6
MINIO_SECRET_KEY: 0kWP/ZkgIwQzgL9t4SGv9Uc93rO//OdyqMH329b/
ports:
- 9000:9000
cmd: server /export
jobs:
build-image:
runs-on: self-hosted
@ -51,19 +29,34 @@ jobs:
context: ./
oci: true
layers: true
image: hostr
image: cremin.dev/jonathan/hostr
tags: latest ${{ github.sha }}
- name: Push image
uses: https://cremin.dev/actions/push-to-registry@v2
with:
registry: cremin.dev/jonathan
registry: cremin.dev
username: ${{ github.actor }}
password: ${{ secrets.FORGEJO_REGISTRY_TOKEN }}
image: hostr
image: cremin.dev/jonathan/hostr
tags: latest ${{ github.sha }}
test-image:
runs-on: self-hosted
needs: build-image
services:
database:
image: postgres:14-alpine
env:
POSTGRES_PASSWORD: hostr
POSTGRES_USER: hostr
POSTGRES_DB: hostr
redis:
image: redis:4.0.2-alpine
minio:
image: minio/minio
env:
MINIO_ACCESS_KEY: 7HYV3KPRGQ8Z5YCDNWC6
MINIO_SECRET_KEY: 0kWP/ZkgIwQzgL9t4SGv9Uc93rO//OdyqMH329b/
cmd: ["server", "/export"]
steps:
- name: Check out repository
uses: https://cremin.dev/actions/checkout@v4

View file

@ -61,7 +61,7 @@ services:
- "3001:3000"
command: yarn run worker
database:
image: "postgres:10-alpine"
image: "postgres:14-alpine"
ports:
- "5432:5432"
environment:
@ -69,7 +69,7 @@ services:
POSTGRES_USER: "hostr"
POSTGRES_DB: "hostr"
redis:
image: "redis:4.0.2-alpine"
image: "redis:8-alpine"
ports:
- "6379:6379"
minio: