Add GitHub Action

This commit is contained in:
hiondal 2025-03-03 22:17:24 +09:00
parent 635a141c58
commit e4b8e61e7f

View File

@ -62,8 +62,15 @@ jobs:
- name: Load environment variables
run: |
env_vars=$(cat deployment/deploy_env_vars)
echo "$env_vars" >> $GITHUB_ENV
while IFS= read -r line || [ -n "$line" ]; do
# Skip comments and empty lines
if [[ "$line" =~ ^#.*$ ]] || [[ -z "$line" ]]; then
continue
fi
# Export the environment variable
echo "$line" >> $GITHUB_ENV
done < deployment/deploy_env_vars
- name: Generate image tag
id: set_outputs