Skip to content

Commit

Permalink
Docker実行コマンドを修正。
Browse files Browse the repository at this point in the history
  • Loading branch information
Fumika Koyama committed Nov 7, 2023
1 parent 497fb97 commit 7f2ca33
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/samples-dressca-backend.ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,13 @@ jobs:
sudo docker run mcr.microsoft.com/mssql/server:2022-latest \
-e "ACCEPT_EULA=Y" \
-e "MSSQL_SA_PASSWORD=P@ssw0rd" \
-v sqlvolume:/var/opt/mssql \
-p 1433:1433 --name sql1 \
--hostname sql1 \
-d \
mcr.microsoft.com/mssql/server:2022-latest
sudo docker exec -it sql1 "bash"
/opt/mssql-tools/bin/sqlcmd -No -S localhost -U SA -P "P@ssw0rd" -q "CREATE DATABASE Dressca.Eshop;"
/opt/mssql-tools/bin/sqlcmd -S localhost -U SA -P "P@ssw0rd" -q "CREATE DATABASE Dressca.Eshop;"
- id: run-tests
name: テストの実行
Expand Down

0 comments on commit 7f2ca33

Please sign in to comment.