Skip to content

Commit eb41ee6

Browse files
authored
Merge pull request #44 from wayofdev/feat/new-ci-workflows
2 parents ac8c6c8 + 68d3306 commit eb41ee6

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on: # yamllint disable-line rule:truthy
1111
- master
1212
release:
1313
types:
14-
- published
14+
- released
1515

1616
env:
1717
DOCKER_NAMESPACE: wayofdev/php-base
@@ -27,7 +27,7 @@ jobs:
2727
os_name: ["alpine"]
2828
php_version: ["8.1", "8.2", "8.3"]
2929
php_type: ["fpm", "cli", "supervisord"]
30-
builder: [{arch: "amd64", os: "ubuntu-latest"}, {arch: "arm64", os: "ubuntu-latest"}]
30+
builder: [{arch: "amd64", os: "ubuntu-latest"}, {arch: "arm64", os: "macos-latest"}]
3131
runs-on: ${{ matrix.builder.os }}
3232
steps:
3333

@@ -52,10 +52,13 @@ jobs:
5252

5353
- name: 🖥️ Setup docker QEMU
5454
uses: docker/setup-qemu-action@v3
55+
with:
56+
platforms: linux/${{ matrix.builder.arch }}
5557

5658
- name: 🛠️ Set up Docker Buildx
5759
uses: docker/setup-buildx-action@v3
5860
with:
61+
platforms: linux/${{ matrix.builder.arch }}
5962
buildkitd-flags: "--debug"
6063

6164
- name: 🐳 Extract docker meta data
@@ -177,10 +180,13 @@ jobs:
177180

178181
- name: 🖥️ Setup docker QEMU
179182
uses: docker/setup-qemu-action@v3
183+
with:
184+
platforms: linux/amd64,linux/arm64
180185

181186
- name: 🛠️ Set up Docker Buildx
182187
uses: docker/setup-buildx-action@v3
183188
with:
189+
platforms: linux/amd64,linux/arm64
184190
buildkitd-flags: "--debug"
185191

186192
- name: Create manifest list and push

.github/workflows/test.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@ concurrency:
55
cancel-in-progress: true
66

77
on:
8-
push:
9-
branches:
10-
- master
11-
paths-ignore:
12-
- '**.md'
138
pull_request:
149
paths-ignore:
1510
- '**.md'

0 commit comments

Comments
 (0)