Skip to content

Commit

Permalink
checking .env file
Browse files Browse the repository at this point in the history
  • Loading branch information
yairsimantov20 committed Feb 20, 2024
1 parent 2d79657 commit a25e544
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions sail/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,16 @@ runs:
VALUE=$(echo $ENV_VARS_JSON | jq -r ".$KEY")
echo "$KEY=$VALUE" >> .env
done
ca .env
docker run -i --rm --platform=${{ inputs.platform }} --env-file .env $image_name
echo "exit_code=$?" >> $GITHUB_ENV
shell: bash

- name: cleanup
shell: bash
run: |
rm .env

0 comments on commit a25e544

Please sign in to comment.