Skip to content

Commit

Permalink
fix: ⚡️ run docker with env
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgasquez committed Nov 9, 2023
1 parent 2e4cceb commit 759ff06
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
- name: Build Docker
run: make build
- name: Run dbt
run: docker run -t -v $PWD/:/workspaces/datadex/ davidgasquez/datadex:latest make run
run: docker run -t -v $PWD/:/workspaces/datadex/ --env-file .env davidgasquez/datadex:latest make run
- name: Render Quarto
run: docker run -t -v $PWD/:/workspaces/datadex/ davidgasquez/datadex:latest make quarto
run: docker run -t -v $PWD/:/workspaces/datadex/ --env-file .env davidgasquez/datadex:latest make quarto
- name: Publish Docs
uses: JamesIves/[email protected]
with:
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ build:
docker-run:
docker run -it --rm -u vscode -e DAGIT_HOST=0.0.0.0 -p 3000:3000 \
-v $(PWD):/workspaces/datadex \
--env-file .env \
$(IMAGE_NAME) /bin/bash

push:
Expand Down

0 comments on commit 759ff06

Please sign in to comment.