Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
fix: pass env example
Browse files Browse the repository at this point in the history
Signed-off-by: Mirko Mollik <mirko.mollik@fit.fraunhofer.de>
  • Loading branch information
cre8 committed Apr 24, 2024
1 parent a4ad903 commit 56e73a8
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@ jobs:

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: create .env
run: echo "DB_USERNAME=postgres\nDB_PASSWORD=postgres\nDB_NAME=postgres\nDB_HOST=db" > .env


- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
Expand All @@ -34,8 +31,8 @@ jobs:

- name: Build and push Docker images
run: |
docker-compose build
docker-compose push
docker-compose build --env-file .env.exmaple
docker-compose push --env-file .env.exmaple
- name: Cleanup
if: always()
Expand Down

0 comments on commit 56e73a8

Please sign in to comment.