mirror of
https://github.com/bitnami/minideb.git
synced 2026-06-04 10:13:55 +08:00
f1fd9b459c
* feat: ✨ Add debian trixie support Signed-off-by: Javier J. Salmerón García <javier.salmeron@broadcom.com> * chore: 🔧 Add perl package Signed-off-by: Javier J. Salmerón García <javier.salmeron@broadcom.com> * chore: 🔧 Bump ubuntu testing version Signed-off-by: Javier J. Salmerón García <javier.salmeron@broadcom.com> --------- Signed-off-by: Javier J. Salmerón García <javier.salmeron@broadcom.com>
48 lines
1.5 KiB
YAML
48 lines
1.5 KiB
YAML
name: CI
|
|
|
|
# Controls when the action will run.
|
|
on:
|
|
# Triggers the workflow on pull request events
|
|
pull_request:
|
|
# Remove all permissions by default
|
|
permissions: {}
|
|
env:
|
|
BASENAME: bitnami/minideb
|
|
LATEST: trixie
|
|
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
|
jobs:
|
|
# This workflow contains a single job called "build"
|
|
shellcheck:
|
|
# The type of runner that the job will run on
|
|
runs-on: ubuntu-24.04
|
|
name: Shellcheck
|
|
# Steps represent a sequence of tasks that will be executed as part of the job
|
|
steps:
|
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
|
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
|
|
- name: Install Dependencies
|
|
run: |
|
|
sudo apt-get -qq update
|
|
sudo apt-get install -y shellcheck
|
|
- name: Verify scripts with shellcheck
|
|
run: |
|
|
bash shellcheck
|
|
build_multiarch:
|
|
runs-on: ubuntu-24.04
|
|
needs: [ shellcheck ]
|
|
strategy:
|
|
matrix:
|
|
dist: [bullseye, bookworm, trixie]
|
|
arch: [amd64, arm64]
|
|
name: Build ${{ matrix.dist }} on ${{ matrix.arch }}
|
|
steps:
|
|
- name: Check out repository
|
|
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
|
|
- name: Use local build action
|
|
id: build
|
|
uses: ./.github/actions/build
|
|
with:
|
|
dist: "${{ matrix.dist }}"
|
|
platform: "${{ matrix.arch }}"
|
|
is_latest: ${{ matrix.dist == env.LATEST }}
|