chore: update ci-cd.yml

This commit is contained in:
2025-07-18 00:17:55 +02:00
parent 70aabddc99
commit e1c5036cc5

View File

@@ -15,17 +15,17 @@ jobs:
runs-on: ubuntu-latest
container:
image: catthehacker/ubuntu:act-latest
options: --add-host=gitea:127.0.0.1 --add-host=docker-registry:127.0.0.1
options: --network host
services:
redis:
image: redis:8-alpine
options: --add-host=gitea:127.0.0.1 --add-host=docker-registry:127.0.0.1
options: --network host
mariadb:
image: mariadb:latest
env:
MYSQL_ROOT_PASSWORD: test
MYSQL_DATABASE: test
options: --add-host=gitea:127.0.0.1 --add-host=docker-registry:127.0.0.1
options: --network host
steps:
- name: Checkout Code
@@ -65,7 +65,7 @@ jobs:
runs-on: ubuntu-latest
container:
image: catthehacker/ubuntu:act-latest
options: --add-host=gitea:127.0.0.1 --add-host=docker-registry:127.0.0.1
options: --network host
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop'
steps: