Skip to content

Specify the branch corresponding to HAMi-Core in order to allow submodule update #41

Specify the branch corresponding to HAMi-Core in order to allow submodule update

Specify the branch corresponding to HAMi-Core in order to allow submodule update #41

Workflow file for this run

name: FOSSA
on:
push:
tags:
- v[0-9]+.[0-9]+.[0-9]+
branches: [master,dev-vgpu-1219]
pull_request:
branches: [master]
pull_request_target:
branches: [dev-vgpu-1219]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "^1.19.x"
- name: Checkout submodule
uses: Mushus/[email protected]
with:
submodulePath: libvgpu
- run: go version
# Runs a set of commands to initialize and analyze with FOSSA
- name: Get branch name
uses: nelonoel/[email protected]
- name: Docker Login
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
- run: make ubuntu20.04
- run: TAG_VERSION="${BRANCH_NAME}" make push-tag
- run: make push-latest
- run: make vgpu
- run: TAG_VERSION="${BRANCH_NAME}" make push-vgpu-tag