Skip to content

Commit

Permalink
fix: Set production settings for image
Browse files Browse the repository at this point in the history
  • Loading branch information
BasedDepartment1 committed Nov 5, 2023
1 parent 922f033 commit c607af1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/deploy-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ jobs:
with:
yc-sa-json-credentials: ${{ secrets.CI_REGISTRY_KEY }}

- name: Set production settings
run: touch ./conf/prod.yaml && echo '${{ secrets.PRODUCTION_SETTINGS }}' > ./conf/prod.yaml

- name: Build, tag, and push image to Yandex Cloud Container Registry
run: |
docker build -t ${{ secrets.CI_REGISTRY }}/${{ env.IMAGE_NAME }}:${{ inputs.tag }} .
Expand Down

0 comments on commit c607af1

Please sign in to comment.