Update .gitea/workflows/services.yml
Test Workflow run in Container / test (push) Successful in 8s
Test Gitea Actions with Service Containers / build (push) Has been cancelled

This commit is contained in:
2023-07-17 18:14:01 +02:00
parent cee0cea3e7
commit d034e49b02
+3 -3
View File
@@ -3,7 +3,7 @@ on: push
env: env:
# Global Env Variables readable in all jobs of this workflow # Global Env Variables readable in all jobs of this workflow
MONGODB_CLUSTER_ADDRESS: mongodb MONGODB_CLUSTER_ADDRESS: mongo.coursow.de
MONGODB_USERNAME: root MONGODB_USERNAME: root
MONGODB_PASSWORD: supersecretpassword MONGODB_PASSWORD: supersecretpassword
MONGODB_DB_NAME: actions-environment MONGODB_DB_NAME: actions-environment
@@ -17,11 +17,11 @@ jobs:
services: services:
mongodb: mongodb:
image: mongo:latest image: mongo:latest
ports:
- 27017:27017
env: env:
MONGO_INITDB_ROOT_USERNAME: root MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: supersecretpassword MONGO_INITDB_ROOT_PASSWORD: supersecretpassword
options: >-
--net-alias=mongodb
steps: steps:
- name: Install NodeJS - name: Install NodeJS
uses: actions/setup-node@v3 uses: actions/setup-node@v3