name: Build & Push Package on: push: branches: ["main"] workflow_dispatch: jobs: package-and-push: runs-on: ubuntu-22.04 container: mcr.microsoft.com/devcontainers/python:3.11 steps: - name: Install Node (and git/make) inside container run: | set -eux apt-get update apt-get install -y --no-install-recommends curl ca-certificates git build-essential make curl -fsSL https://deb.nodesource.com/setup_20.x | bash - apt-get install -y --no-install-recommends nodejs node -v rm -rf /var/lib/apt/lists/* - name: Checkout uses: actions/checkout@v4 - name: Build and package run: | make clean make all python ./deploy/bundle.py - name: Push package to registry env: REGISTRY_URL: ${{ secrets.REGISTRY_URL }} REGISTRY_USER: ${{ secrets.REGISTRY_USER }} REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }} run: ./deploy/push-package.sh