Skip to content

Commit

Permalink
ci: add TEST_MODE environment for test all configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
alimd committed Nov 8, 2024
1 parent 3135cbe commit de40823
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
if: ${{ steps.file_change.outputs.container_folder != 'false' }}
run: |
echo "Running tests for ${{matrix.path}}"
docker run --rm ${{env.USER}}/${{matrix.path}}:test /etc/nginx/entrypoint.sh nginx -t
docker run --rm -e TEST_MODE=1 ${{env.USER}}/${{matrix.path}}:test /etc/nginx/entrypoint.sh nginx -t
- name: 🚀 Build and publish container image
if: ${{ steps.file_change.outputs.container_folder != 'false' }}
Expand Down

0 comments on commit de40823

Please sign in to comment.