Merge pull request #14 from Emerald-Z/main #15
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 amd64 module | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
on: | |
push: | |
tags: | |
- '[0-9]+.[0-9]+.[0-9]+' | |
jobs: | |
publish: | |
name: Upload module for linux/amd64 | |
runs-on: [ubuntu-latest] | |
container: | |
image: ghcr.io/viamrobotics/ocean-prefilter:amd64 | |
options: --platform linux/amd64 | |
timeout-minutes: 30 | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Build | |
run: make module.tar.gz | |
- name: Upload | |
uses: viamrobotics/upload-module@v1 | |
with: | |
platform: linux/amd64 | |
version: ${{ github.ref_name }} | |
key-id: ${{ secrets.viam_key_id }} | |
key-value: ${{ secrets.viam_key_value }} |