-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (39 loc) · 1.15 KB
/
buildall-wf.yml
File metadata and controls
43 lines (39 loc) · 1.15 KB
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
name: "matrix build all dockerfiles CI workflow"
on:
push:
branches: [ main ]
schedule:
# https://crontab.guru/examples.html #every friday at midnight
- cron: '0 0 * * FRI'
jobs:
ubuntu-latest-2110-job:
name: "docker ansible clearlinux"
runs-on: ubuntu-latest
strategy:
matrix:
node:
- golang
- python
- clearlinux
steps:
- uses: actions/checkout@v2
- name: "os fingerprinting"
run: |
hostnamectl status
lsb_release -a
lsb_release -d
cat /etc/lsb-release
cat /etc/issue
cat /etc/os-release
sudo apt-get install -y neofetch && neofetch
- name: "run test"
run: |
dir=$(pwd)
cd $dir/dockerfiles
cd ${{matrix.node}}
echo "############################################"
echo "############################################"
echo "Building ${{matrix.node}} dockerfile"
echo "############################################"
echo "############################################"
docker build -t clearlinux/${{matrix.node}} .