Skip to content

build

build #1247

Workflow file for this run

name: build
on:
push:
branches:
- main
- 'renovate/**'
pull_request:
schedule:
- cron: '0 1 * * *'
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
distro:
- focal
- jammy
arch:
- x86_64
- aarch64
env:
DISTRO: ${{ matrix.distro }} # build target, name required by binary-builder
ARCH: ${{ matrix.arch }} # build target, name required by binary-builder
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- name: binary-builder
uses: containerbase/internal-tools@2eee2812d46ffe24dcd6921adb9f2459c2254deb # v1.21.11
with:
command: binary-builder
dry-run: ${{github.ref != 'refs/heads/main'}}
config: builder/${{ matrix.distro }}.json
token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
with:
name: ${{ env.DISTRO }}
path: .cache/*.tar.xz