Skip to content

HouDocker Autobuild #75

HouDocker Autobuild

HouDocker Autobuild #75

name: HouDocker Autobuild
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
autobuild:
runs-on: ubuntu-latest
env:
SIDEFX_CLIENT: ${{secrets.SIDEFX_CLIENT}}
SIDEFX_SECRET: ${{secrets.SIDEFX_SECRET}}
DOCKER_USER: ${{secrets.DOCKER_USER}}
DOCKER_SECRET: ${{secrets.DOCKER_SECRET}}
DOCKER_REPO: ${{secrets.DOCKER_REPO}}
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r ./hbuild/requirements.txt
- name: Run autobuild.py
id: autobuild
run: |
export PYTHONPATH="${PYTHONPATH}:$(pwd)"
export DOCKER_DEFAULT_PLATFORM="linux/amd64"
python ./hbuild/autobuild.py
outputs:
test_status: ${{ steps.autobuild.outputs.test_status }}