ci: allow fail building NGC (#17815)

This commit is contained in:
Jirka Borovec 2023-06-15 14:14:43 +02:00 committed by GitHub
parent 420e7aa427
commit 050d645095
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 4 deletions

View File

@ -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