From 8ccc7ba001879ba1eee6e39b543da43733821046 Mon Sep 17 00:00:00 2001 From: Ali Mihandoost Date: Sat, 13 Jan 2024 10:42:33 +0330 Subject: [PATCH] chore(workflow): test after build --- .github/workflows/publish-container.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-container.yml b/.github/workflows/publish-container.yml index fedc304..25cfb7f 100644 --- a/.github/workflows/publish-container.yml +++ b/.github/workflows/publish-container.yml @@ -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' }}