Update docker-image.yml

This commit is contained in:
DariusKlein 2024-02-14 12:32:29 +01:00 committed by GitHub
parent 0c16c9bd72
commit a084bca43f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,6 +14,10 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: 'Create env file'
run: |
touch .env
echo DB_STRING=${{ secrets.DB_STRING }} >> .env
- name: Build the Docker image - name: Build the Docker image
run: docker build . --file Dockerfile --tag docker.kleinwizard.nl/portfolio-backend:latest run: docker build . --file Dockerfile --tag docker.kleinwizard.nl/portfolio-backend:latest
- name: Docker login - name: Docker login