Skip to content

ci: build on branch patch/v7.4.1 #44

ci: build on branch patch/v7.4.1

ci: build on branch patch/v7.4.1 #44

Workflow file for this run

name: Build and Push Multi-Arch Images

Check failure on line 1 in .github/workflows/build-release.yaml

GitHub Actions / .github/workflows/build-release.yaml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: get-tag
on:
push:
branches:
- develop
- main
- patch/v7.4.1
tags:
- "v*.*.*"
jobs:
get-tag:
runs-on: ubuntu-latest
name: Get tag
outputs:
tag: v7.4.1
build:
needs: [get-tag]
strategy:
matrix:
arch: [amd64, arm64]
include:
- image: ubuntu-latest
# FIXME: using 4vcpu image because of heavy RAM usage when building pinoccio on arm64
- image: buildjet-4vcpu-ubuntu-2204-arm
arch: arm64
runs-on: ${{ matrix.image }}
name: Build and publish (${{ matrix.arch }})
steps:
- uses: actions/checkout@v3
- uses: aica-technology/.github/.github/actions/[email protected]
id: merge-tags
with:
list: ${{ needs.get-tag.outputs.tag }}
suffixes: ${{ matrix.arch }}
glue_separator: "-"
- uses: aica-technology/.github/.github/actions/[email protected]
with:
image_name: aica-technology/control-libraries
image_tags: ${{ steps.merge-tags.outputs.list }}
dockerfile_path: Dockerfile
token: ${{ secrets.GITHUB_TOKEN }}
multi-arch:
runs-on: ubuntu-latest
name: Merge into a multi-arch image
needs: [get-tag, build]
steps:
- uses: aica-technology/.github/.github/actions/[email protected]
with:
image_name: aica-technology/control-libraries
image_tags: ${{ needs.get-tag.outputs.tag }}
archs: amd64,arm64
token: ${{ secrets.GITHUB_TOKEN }}