forked from MiczFlor/RPi-Jukebox-RFID
-
Notifications
You must be signed in to change notification settings - Fork 1
66 lines (55 loc) · 1.95 KB
/
docker_bullseye_altuser.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
name: Test Install Scripts for Bullseye (alternative user) 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 altuser Bullseye ARMv7
uses: docker/build-push-action@v5
with:
context: .
load: true
push: false
file: ./ci/Dockerfile.bullseye.test_install_altuser.armv7
platforms: linux/arm/v7
tags: rpi-jukebox-rfid-bullseye-altuser:latest
cache-from: type=gha,scope=$GITHUB_REF_NAME-bullseye-altuser
cache-to: type=gha,mode=max,scope=$GITHUB_REF_NAME-bullseye-altuser
- name: Run run_installation_tests.sh Bullseye ARMv7
uses: tj-actions/docker-run@v2
with:
image: rpi-jukebox-rfid-bullseye-altuser:latest
options: --platform linux/arm/v7
name: run_installation_tests.sh
args: |
/code/scripts/installscripts/tests/run_installation_tests.sh
- name: Run run_installation_tests2.sh Bullseye ARMv7
uses: tj-actions/docker-run@v2
with:
image: rpi-jukebox-rfid-bullseye-altuser:latest
options: --platform linux/arm/v7
name: run_installation_tests2.sh
args: |
/code/scripts/installscripts/tests/run_installation_tests2.sh
- name: Run run_installation_tests3.sh Bullseye ARMv7
uses: tj-actions/docker-run@v2
with:
image: rpi-jukebox-rfid-bullseye-altuser:latest
options: --platform linux/arm/v7
name: run_installation_tests3.sh
args: |
/code/scripts/installscripts/tests/run_installation_tests3.sh