Files
minideb/.github/workflows/ci.yml
T
dependabot[bot] f0d9e150ac Bump actions/checkout from 6.0.1 to 6.0.2 (#218)
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/8e8c483db84b4bee98b60c0593521ed34d9990e8...de0fac2e4500dabe0009e67214ff5f5447ce83dd)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-26 12:27:38 +01:00

50 lines
1.6 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@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- 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@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- 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 }}