Skip to content

Commit

Permalink
chore(workflow): test after build
Browse files Browse the repository at this point in the history
  • Loading branch information
AliMD committed Jan 13, 2024
1 parent 4e42b4b commit 8ccc7ba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,9 @@ jobs:
if: ${{ steps.file_change.outputs.container_folder != 'false' }}
run: |
echo "Running tests for ${{matrix.path}}"
docker run --rm ${{ fromJSON(steps.meta.outputs.tags)[0] }} /bin/sh -c "/etc/nginx/entrypoint.sh && nginx -t"
echo "Tags: ${{steps.meta.outputs.tags}}"
echo "Tag1: ${{fromJSON(steps.meta.outputs.tags)[0]}}"
# docker run --rm ... /bin/sh -c "/etc/nginx/entrypoint.sh && nginx -t"

# - name: 🏗 Sign the image with GitHub OIDC Token
# if: ${{ github.event_name != 'pull_request' && steps.file_change.outputs.container_folder != 'false' }}
Expand Down

0 comments on commit 8ccc7ba

Please sign in to comment.