Don't use canon in CI #92
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build & publish module to registry | |
on: [push, pull_request] | |
jobs: | |
publish: | |
strategy: | |
matrix: | |
include: | |
- platform: linux/amd64 | |
runner: ubuntu-latest | |
target_os: linux | |
target_arch: amd64 | |
docker_image: ghcr.io/viamrobotics/antique2:amd64-cache | |
- platform: linux/arm64 | |
runner: buildjet-8vcpu-ubuntu-2204-arm | |
target_os: linux | |
target_arch: arm64 | |
docker_image: ghcr.io/viamrobotics/antique2:arm64-cache | |
- platform: android/arm64 | |
runner: ubuntu-latest | |
target_os: android | |
target_arch: arm64 | |
docker_image: ghcr.io/viamrobotics/antique2:amd64-cache | |
runs-on: ${{ matrix.runner }} | |
steps: | |
- name: Call build module workflow | |
uses: hexbabe/sean-viamrtsp/.github/workflows/build-module.yml@fix-ci-publish | |
with: | |
target_os: ${{ matrix.target_os }} | |
target_arch: ${{ matrix.target_arch }} | |
docker_image: ${{ matrix.docker_image }} | |
- name: Upload viamrtsp module to registry | |
uses: viamrobotics/upload-module@v1 | |
with: | |
meta-path: meta.json | |
module-path: module.tar.gz | |
platform: ${{ matrix.platform }} | |
version: ${{ github.ref_name }} | |
key-id: ${{ secrets.VIAM_DEV_API_KEY_ID }} | |
key-value: ${{ secrets.VIAM_DEV_API_KEY }} |