We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f7a9f3 commit 912f7fbCopy full SHA for 912f7fb
.github/workflows/ci.yaml
@@ -24,6 +24,13 @@ jobs:
24
run: |
25
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
26
27
+ # ✅ Add .env file before build
28
+ - name: Create .env file
29
+ run: |
30
+ echo "DB_USER=root" >> .env
31
+ echo "DB_PASSWORD=${{ secrets.DB_PASSWORD }}" >> .env
32
+ echo "DB_NAME=library" >> .env
33
+
34
# 4️⃣ Build all images from docker-compose
35
- name: Build Docker images
36
0 commit comments