diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index daa70e1ece70..b2e6a0636340 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -114,7 +114,7 @@ jobs: - uses: docker/setup-qemu-action@v2 with: platforms: arm64,ppc64le - - name: Test Docker Image + - name: Build and Test Docker Image run: core/docker/build.sh - name: Remove Trino from local Maven repo to avoid caching it # Avoid caching artifacts built in this job, cache should only include dependencies diff --git a/core/docker/build.sh b/core/docker/build.sh index 99b93a33bbc1..30bd3be5d008 100755 --- a/core/docker/build.sh +++ b/core/docker/build.sh @@ -71,7 +71,7 @@ TAG_PREFIX="trino:${TRINO_VERSION}" for arch in "${ARCHITECTURES[@]}"; do echo "🫙 Building the image for $arch" - docker build \ + "${SOURCE_DIR}/.github/bin/retry" docker build \ "${WORK_DIR}" \ --pull \ --platform "linux/$arch" \