Skip to content

Commit

Permalink
Test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwitte committed Jul 22, 2024
1 parent ab67991 commit 77c4171
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ jobs:

- name: Load Environment Variables from global.env
run: |
grep -v '^#' global.env | while IFS='=' read -r key value; do
echo "$key=$value" >> $GITHUB_ENV
grep -v '^#' global.env | grep '=' | while IFS='=' read -r key value; do
if [[ -n "$key" && -n "$value" ]]; then
echo "$key=$value" >> $GITHUB_ENV
fi
done
- name: Login to DockerHub
Expand Down

0 comments on commit 77c4171

Please sign in to comment.