Skip to content

Commit

Permalink
chore: app.env file creation in cd
Browse files Browse the repository at this point in the history
  • Loading branch information
aseerkt committed Apr 11, 2024
1 parent 71e82eb commit 18c8efc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ jobs:
id: login-ecr
uses: aws-actions/amazon-ecr-login@v2

- name: Create app.env file
env:
ENV_FILE: ${{ secrets.APP_ENV_FILE }}
run: |
echo $ENV_FILE | base64 --decode > app.env
- name: Build, tag, and push docker image to Amazon ECR
env:
REGISTRY: ${{ steps.login-ecr.outputs.registry }}
Expand Down

0 comments on commit 18c8efc

Please sign in to comment.