Skip to content

Commit

Permalink
ci: use env file arg
Browse files Browse the repository at this point in the history
  • Loading branch information
nayyara-airlangga committed Nov 6, 2023
1 parent af9cedc commit cad8db7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
echo $REGISTRY_ACCESS_TOKEN | docker login -u $REGISTRY_USER --password-stdin $REGISTRY
docker rm -f chiral
docker pull "$REGISTRY/$REGISTRY_IMAGE:latest"
docker run -d --name chiral \
docker run -d --name chiral --env-file .env \
--restart always \
-v "$(pwd)/.env:/app/chiral/.env:ro" \
-v "$(pwd)/config:/app/chiral/config" \
Expand Down

0 comments on commit cad8db7

Please sign in to comment.