Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
usmansbk committed Dec 18, 2023
1 parent e8ae7b5 commit d718578
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Load environment variables
run: npx dotenv-vault pull production .env --dotenvMe=${{ secrets.DOTENV_ME }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
Expand All @@ -34,6 +36,3 @@ jobs:
file: ./Dockerfile
push: true
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/${{ github.repository }}:${{ github.ref_name }}
secrets: |
"DONTENV_ME=${{ secrets.DOTENV_ME }}"
"DATABASE_URL=${{ secrets.DATABASE_URL }}"

0 comments on commit d718578

Please sign in to comment.