From b1a6b092dfa68c5bf3713c32131cd975890b95c8 Mon Sep 17 00:00:00 2001 From: Terry Kong Date: Sun, 8 Oct 2023 22:23:20 -0700 Subject: [PATCH] Remove step to validate library's in base image in rosetta build --- .github/workflows/_build_rosetta.yaml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/.github/workflows/_build_rosetta.yaml b/.github/workflows/_build_rosetta.yaml index 057ceb46a..e811e31bf 100644 --- a/.github/workflows/_build_rosetta.yaml +++ b/.github/workflows/_build_rosetta.yaml @@ -82,15 +82,6 @@ jobs: driver-opts: | image=moby/buildkit:v0.12.1 - - name: Pull and validate BASE_IMAGE=${{ steps.defaults.outputs.BASE_IMAGE }} contains BASE_LIBRARY=${{ inputs.BASE_LIBRARY }} - shell: bash -x -e {0} - run: | - PYTHON_PACKAGE=${{ inputs.BASE_LIBRARY }} - if [[ $PYTHON_PACKAGE == "pax" ]]; then - PYTHON_PACKAGE=paxml - fi - docker run --rm ${{ steps.defaults.outputs.BASE_IMAGE }} python -c "import importlib,sys; sys.exit(importlib.util.find_spec('$PYTHON_PACKAGE') is None)" - - name: Build docker images uses: docker/build-push-action@v4 with: