-
Notifications
You must be signed in to change notification settings - Fork 54
41 lines (38 loc) · 994 Bytes
/
pr.yaml
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
name: PR checks
on:
pull_request:
branches:
- master
jobs:
pr:
strategy:
fail-fast: false
matrix:
version: [ "8.0", "8.1", "8.2" ]
name: ${{ matrix.version }}
runs-on: ubuntu-latest
env:
VERSION: ${{ matrix.version }}
steps:
- uses: actions/checkout@v1
- name: Set up QEMU
uses: docker/setup-qemu-action@master
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@master
- uses: azure/docker-login@v1
with:
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Build
run: |
docker buildx create --name alpine-php
docker buildx use alpine-php
docker buildx inspect --bootstrap
ARCHS="linux/arm64" make build
docker manifest inspect -v jorge07/alpine-php:${VERSION}
- name: Run
run: |
make run-detached
- name: Test Main
run: |
make test-main