Skip to content

Commit

Permalink
[revise]: revise deploy-image.yml for env file
Browse files Browse the repository at this point in the history
  • Loading branch information
IMHOJEONG committed Dec 30, 2023
1 parent 324a1d2 commit b397859
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/deploy-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,18 @@ jobs:
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
with:
images: ${{ env.REGISTRY }}/IMHOJEONG/${{ matrix.context }}
- name: Set up Env File
shell: bash
run: |
echo "DATABASE_HOST=$DATABASE_HOST" >> .env.production
echo "DATABASE_USER=$DATABASE_USER" >> .env.production
echo "DATABASE_PASS=$DATABASE_PASS" >> .env.production
echo "MEILISEARCH_HOST=$MEILISEARCH_HOST" >> .env.production
env:
DATABASE_HOST: ${{ secrets.DATABASE_HOST }}
DATABASE_USER: ${{ secrets.DATABASE_USER }}
DATABASE_PASS: ${{ secrets.DATABASE_PASS }}
MEILISEARCH_HOST: ${{ secrets.MEILISEARCH_HOST }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
Expand Down

0 comments on commit b397859

Please sign in to comment.