define DB_DATABASE name in workflow for community test run

This commit is contained in:
Ulf Gebhardt 2021-10-02 22:00:57 +02:00
parent 8d48202779
commit 413c54ee41
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD

View File

@ -470,7 +470,7 @@ jobs:
run: echo "::set-output name=id::$(docker network ls | grep github_network | awk '{ print $1 }')"
id: network
- name: Start database migration
run: docker run --network ${{ steps.network.outputs.id }} --name=database --env NODE_ENV=production --env DB_HOST=mariadb -d gradido/database:production_up
run: docker run --network ${{ steps.network.outputs.id }} --name=database --env NODE_ENV=production --env DB_HOST=mariadb --env DB_DATABASE=gradido_community_test -d gradido/database:production_up
- name: get database migration container id
run: echo "::set-output name=id::$(docker container ls | grep database | awk '{ print $1 }')"
id: database_container