forked from netdata/netdata
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (35 loc) · 809 Bytes
/
Copy pathdocker.yml
File metadata and controls
35 lines (35 loc) · 809 Bytes
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
---
name: Docker
on:
push:
branches:
- master
paths:
- '.github/workflows/docker.yml'
- 'netdata-installer.sh'
- 'packaging/**'
pull_request:
paths:
- '.github/workflows/docker.yml'
- 'netdata-installer.sh'
- 'packaging/**'
jobs:
docker-build:
name: Docker Build
strategy:
matrix:
arch:
- amd64
- i386
- armhf
- aarch64
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Prepare Docker Environment
run:
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
- name: Test Docker Build
run:
docker build --build-arg ARCH=${{ matrix.arch }} -f packaging/docker/Dockerfile .