From 05b47c869e3dd6a9c0f0b245f44e79d7da311072 Mon Sep 17 00:00:00 2001 From: Yong Tang Date: Sun, 8 Oct 2023 08:17:11 -0700 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f3e8ac6fe..ce0533d3a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -290,11 +290,11 @@ jobs: linux-bazel: name: Bazel Linux runs-on: ubuntu-22.04 - container: - image: gcr.io/tensorflow-testing/nosla-cuda11.2-cudnn8.1-ubuntu20.04-manylinux2014-multipython@sha256:48612bd85709cd014711d0b0f87e0806f3567d06d2e81c6e860516b87498b821 - env: - REPO_NAME: ${{ env.REPO_NAME }} - EVENT_NAME: ${{ env.EVENT_NAME }} + #container: + # image: gcr.io/tensorflow-testing/nosla-cuda11.2-cudnn8.1-ubuntu20.04-manylinux2014-multipython@sha256:48612bd85709cd014711d0b0f87e0806f3567d06d2e81c6e860516b87498b821 + # env: + # REPO_NAME: ${{ env.REPO_NAME }} + # EVENT_NAME: ${{ env.EVENT_NAME }} steps: - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 - name: GCP @@ -312,7 +312,7 @@ jobs: if [[ "${EVENT_NAME}" == "push" && "${REPO_NAME}" == "tensorflow/io" ]]; then export BAZEL_OPTIMIZATION="$BAZEL_OPTIMIZATION --remote_upload_local_results=true --google_credentials=service_account_creds.json" fi - bash -x -e .github/workflows/build.bazel.sh python3 + docker run -i --rm --user $(id -u):$(id -g) -v /etc/password:/etc/password -v $PWD:/v -w /v --net=host bash -x -e gcr.io/tensorflow-testing/nosla-cuda11.2-cudnn8.1-ubuntu20.04-manylinux2014-multipython@sha256:48612bd85709cd014711d0b0f87e0806f3567d06d2e81c6e860516b87498b821 .github/workflows/build.bazel.sh python3.9 sudo cp .bazelrc build/tensorflow_io/ - uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 with: