-
Notifications
You must be signed in to change notification settings - Fork 0
73 lines (71 loc) · 2.03 KB
/
php-82.yml
File metadata and controls
73 lines (71 loc) · 2.03 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
name: PHP 8.2
on:
workflow_dispatch:
push:
branches: [ main ]
paths:
- 8.2/**
release:
types: [ published ]
jobs:
push_to_registry:
strategy:
matrix:
image:
- name: "[8.2][min]"
target: "min"
context: 8.2
tags: |
jopplt/php:8.2-fpm-min
build-args: ""
platforms: linux/amd64,linux/arm64
- name: "[8.2][base]"
target: "base"
context: 8.2
tags: |
jopplt/php:8.2-fpm-base
build-args: |
COMPOSER_VERSION=2.7.1
platforms: linux/amd64,linux/arm64
- name: "[8.2][newrelic]"
target: "newrelic"
context: 8.2
tags: |
jopplt/php:8.2-fpm-newrelic
build-args: |
NEW_RELIC_AGENT_VERSION=10.18.0.8
platforms: linux/amd64
- name: "[8.2][dev]"
target: "dev"
context: 8.2
tags: |
jopplt/php:8.2-fpm-dev
build-args: |
COMPOSER_VERSION=2.7.1
platforms: linux/amd64,linux/arm64
fail-fast: true
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- 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
- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: "${{ matrix.image.name }}"
uses: docker/build-push-action@v2
with:
builder: ${{ steps.buildx.outputs.name }}
context: ${{ matrix.image.context }}
target: ${{ matrix.image.target }}
platforms: ${{ matrix.image.platforms }}
push: true
tags: ${{ matrix.image.tags }}
build-args: ${{ matrix.image.build-args }}