Skip to content

🔄 synced file(s) with bitnami/support #29

🔄 synced file(s) with bitnami/support

🔄 synced file(s) with bitnami/support #29

Workflow file for this run

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@8e8c483db84b4bee98b60c0593521ed34d9990e8
- 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: ${{ matrix.arch.platform }}
needs: [ shellcheck ]
strategy:
matrix:
dist: [bullseye, bookworm, trixie]
arch:
- { name: amd64, platform: ubuntu-24.04 }
- { name: arm64, platform: ubuntu-24.04-arm }
name: Build ${{ matrix.dist }} on ${{ matrix.arch.name }}
steps:
- name: Check out repository
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
- name: Use local build action
id: build
uses: ./.github/actions/build
with:
dist: "${{ matrix.dist }}"
platform: "${{ matrix.arch.name }}"
is_latest: ${{ matrix.dist == env.LATEST }}