Fix building TF serving image failure
Due to limited resources of Github Actions' hosted machine, we changed to build this image on our self-hosted machine.
This commit is contained in:
parent
1a5dcd87be
commit
bf7a55ee10
@ -214,10 +214,16 @@ jobs:
|
|||||||
# Thus dividing into two jobs.
|
# Thus dividing into two jobs.
|
||||||
|
|
||||||
Build_tf_serving_image:
|
Build_tf_serving_image:
|
||||||
runs-on: ubuntu-20.04
|
# Building TF serving demo image needs a lot of resources which exceeds the limit of GitHub Actions' hosted machine.
|
||||||
|
# Thus, we need to build this image on our host machine. This begins from Occlum 0.29.6 and onwards.
|
||||||
|
runs-on: [self-hosted, SGX2-HW]
|
||||||
if: github.event.inputs.image_name == 'tf_serving'
|
if: github.event.inputs.image_name == 'tf_serving'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: Clean before running
|
||||||
|
run: |
|
||||||
|
sudo chown -R ${{ secrets.CI_ADMIN }} "${{ github.workspace }}"
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user