Skip to content

Commit 7d53484

Browse files
committed
Load .env.example when building the containers in Github Actions
1 parent 2311a6b commit 7d53484

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/docker.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,12 @@ jobs:
1919
egress-policy: audit
2020

2121
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
22+
23+
- name: Load environment variables
24+
uses: xom9ikk/dotenv@v2
25+
with:
26+
path: .
27+
mode: example
28+
2229
- run: cp .env.example .env.docker
23-
- run: docker compose -f docker-compose.tips.yml build
30+
- run: docker compose -f docker-compose.tips.yml build

0 commit comments

Comments
 (0)