PLTCLD-351: gha: checkout, docker updates #14
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
# scm-go-usb:ci | |
name: CI | |
on: pull_request | |
env: | |
REGISTRY: ghcr.io | |
jobs: | |
test: | |
runs-on: ubuntu-20.04 | |
container: | |
image: ghcr.io/bcdevices/scm-go-usb-arm:v1.21.1-jammy-2 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Unit Testing | |
run: | | |
make test | |
build-linux-amd64: | |
runs-on: ubuntu-20.04 | |
container: | |
image: ghcr.io/bcdevices/scm-go-usb-arm:v1.21.1-jammy-2 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Build linux-amd64 | |
run: | | |
TARGET_ARCH="linux-amd64" make all | |
build-linux-arm64: | |
runs-on: ubuntu-20.04 | |
container: | |
image: ghcr.io/bcdevices/scm-go-usb-arm:v1.21.1-jammy-2 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Build linux-arm64 | |
run: | | |
TARGET_ARCH="linux-arm64" make all |