Skip to content

Commit

Permalink
Update docker-publish.yml to include generating .env file for DB Types
Browse files Browse the repository at this point in the history
  • Loading branch information
ikurotime committed Jan 5, 2024
1 parent 2f0709b commit f8b0bcd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,9 @@ jobs:
- name: Login
run: |
echo ${{ secrets.PAT }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- name: Generate .env for DB Types
run: |
echo DATABASE_URL=${{ secrets.DATABASE_URL }} > .env
- name: Build and Publish
run: |
echo DATABASE_URL=${{ secrets.DATABASE_URL }} > .env
docker build . --tag ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
Expand Down

0 comments on commit f8b0bcd

Please sign in to comment.