Skip to content

Commit

Permalink
Update environment variable setup and add check for DB_IMAGE
Browse files Browse the repository at this point in the history
  • Loading branch information
warrenchristian1telus committed Feb 29, 2024
1 parent 920bd46 commit 594fc93
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/db.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,14 @@ jobs:

- name: Setup All Env Vars
run: |
echo "Import .env to $GITHUB_ENV (ignoring any commented [#] or empty lines)"
echo "Import .env files to $GITHUB_ENV (ignoring any commented [#] or empty lines)"
grep -v '^#' ./example.env | grep -v '^$' >> $GITHUB_ENV
grep -v '^#' ./example.versions.env | grep -v '^$' >> $GITHUB_ENV
cat /.env
- name: Check Env Vars
run: |
echo Building and pushing DB_IMAGE: ${{ env.DB_IMAGE }}
# Build DB Image

Expand Down

0 comments on commit 594fc93

Please sign in to comment.