From eb4f936d9e24f37eee76b82bb08bd811a5ffdbef Mon Sep 17 00:00:00 2001 From: Muhammad Faizan Date: Mon, 16 Sep 2024 10:28:32 +0200 Subject: [PATCH] removed test job in build image --- .github/workflows/pull-build-image.yaml | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/.github/workflows/pull-build-image.yaml b/.github/workflows/pull-build-image.yaml index ceaf2c0..1356e19 100644 --- a/.github/workflows/pull-build-image.yaml +++ b/.github/workflows/pull-build-image.yaml @@ -16,20 +16,3 @@ jobs: dockerfile: Dockerfile context: . export-tags: true - test-image: - runs-on: ubuntu-latest - needs: build - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Install jq - run: sudo apt-get install jq - - - name: Extract image name from JSON - id: extract-image - run: | - echo "IMAGE_NAME=$(echo '${{ needs.build.outputs.images }}' | jq -r '.[0]')" >> $GITHUB_ENV - - - name: Test image - run: ./scripts/shell/run-and-check-container.sh "$IMAGE_NAME" PR-${{ github.event.number }}-container