chore: update ci-cd.yml
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user