-
Notifications
You must be signed in to change notification settings - Fork 54
39 lines (38 loc) · 967 Bytes
/
release.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
name: Release
on:
push:
branches:
- master
jobs:
push-to-registry:
strategy:
fail-fast: true
matrix:
version: [ "8.0", "8.1", "8.2" ]
arch: [
"linux/amd64,linux/arm64/v8,linux/arm/v7"
]
env:
VERSION: ${{ matrix.version }}
ARCHS: linux/${{ matrix.arch }}
name: release-${{ matrix.version }}-${{ matrix.arch }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up QEMU
uses: docker/setup-qemu-action@master
with:
platforms: "all"
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@master
with:
install: true
- uses: azure/docker-login@v1
with:
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- run: |
docker buildx create --name alpine-php
docker buildx use alpine-php
make release