Skip to content

unified workflow base for debian #67

unified workflow base for debian

unified workflow base for debian #67

Workflow file for this run

name: Test Install Scripts for Bullseye on Docker
on:
schedule:
# run at 5 every sunday
- cron: '0 5 * * 0'
push:
branches-ignore:
- 'future3/**'
pull_request:
# The branches below must be a subset of the branches above
branches: [ develop ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/[email protected]
- name: Set up Docker Buildx
uses: docker/[email protected]
- name: Build Bullseye ARMv7
uses: docker/build-push-action@v5
with:
context: .
load: true
push: false
file: ./ci/Dockerfile.bullseye.test_install.armv7
platforms: linux/arm/v7
tags: rpi-jukebox-rfid-bullseye:latest
cache-from: type=gha,scope=${{ github.ref }}-bullseye
cache-to: type=gha,mode=max,scope=${{ github.ref }}-bullseye
build-args: |
GIT_BRANCH=${{ github.ref_name }}
GIT_URL=${{ github.server_url }}/${{ github.repository }}
- name: Run run_installation_tests.sh Bullseye ARMv7
uses: tj-actions/docker-run@v2
with:
image: rpi-jukebox-rfid-bullseye:latest
options: --platform linux/arm/v7
name: run_installation_tests.sh
args: |
./run_installation_tests.sh
- name: Run run_installation_tests2.sh Bullseye ARMv7
uses: tj-actions/docker-run@v2
with:
image: rpi-jukebox-rfid-bullseye:latest
options: --platform linux/arm/v7
name: run_installation_tests2.sh
args: |
./run_installation_tests2.sh
- name: Run run_installation_tests3.sh Bullseye ARMv7
uses: tj-actions/docker-run@v2
with:
image: rpi-jukebox-rfid-bullseye:latest
options: --platform linux/arm/v7
name: run_installation_tests3.sh
args: |
./run_installation_tests3.sh