Skip to content

Commit

Permalink
Remove step to validate library's in base image in rosetta build
Browse files Browse the repository at this point in the history
  • Loading branch information
terrykong committed Oct 9, 2023
1 parent 0701e14 commit b1a6b09
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/_build_rosetta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b1a6b09

Please sign in to comment.