diff --git a/.github/workflows/check-docker-build.yml b/.github/workflows/check-docker-build.yml index 8b1635c4be..0f47f3539b 100644 --- a/.github/workflows/check-docker-build.yml +++ b/.github/workflows/check-docker-build.yml @@ -22,6 +22,8 @@ jobs: uses: docker/setup-buildx-action@v3 - name: Checking Docker Build run: | + sudo apt-get update + sudo apt-get -y install jq URL="https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/files" response=$(curl -H 'authorization: Bearer ${{ secrets.PAT }}' -H "Accept: application/vnd.github.v3+json" -s -X GET -G $URL) UPDATEFILE_DIR=$(echo "${response}" | jq -r '.[] | .filename')