docker build database test up

This commit is contained in:
Ulf Gebhardt 2021-10-22 00:05:57 +02:00
parent 104fd01169
commit 2a372f0fb7
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD

View File

@ -428,7 +428,9 @@ jobs:
submodules: true
# Database migration
- name: Start database migration
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 --target production_up ./database
run: |
docker build --target production_up -t "gradido/database:production_up" database/
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
##########################################################################
# Build Login-Server Test Docker image ###################################
##########################################################################