From 050d645095cb16fd4eeec78df7f7830dbd65f51c Mon Sep 17 00:00:00 2001 From: Jirka Borovec <6035284+Borda@users.noreply.github.com> Date: Thu, 15 Jun 2023 14:14:43 +0200 Subject: [PATCH] ci: allow fail building NGC (#17815) --- .github/workflows/ci-dockers-pytorch.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-dockers-pytorch.yml b/.github/workflows/ci-dockers-pytorch.yml index 0d98e315c1..45be447fb1 100644 --- a/.github/workflows/ci-dockers-pytorch.yml +++ b/.github/workflows/ci-dockers-pytorch.yml @@ -36,7 +36,7 @@ jobs: # the images generated by this job are not used anywhere in this repository. they are just meant to be available # for users if: github.event.pull_request.draft == false - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest strategy: fail-fast: false matrix: @@ -64,7 +64,7 @@ jobs: build-cuda: if: github.event.pull_request.draft == false - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest strategy: fail-fast: false matrix: @@ -105,12 +105,16 @@ jobs: build-NGC: if: github.event.pull_request.draft == false - runs-on: ubuntu-20.04 + # fixme: use larger machine or optimize image size + # runs-on: ubuntu-latest-4-cores + # then drop continue-on-error + runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 - name: Build Conda Docker # publish master/release + continue-on-error: true uses: docker/build-push-action@v4 with: file: dockers/nvidia/Dockerfile @@ -119,7 +123,7 @@ jobs: build-docs: if: github.event.pull_request.draft == false - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: docker/setup-buildx-action@v2