Skip to content

Commit

Permalink
ci: changes in platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
lotyp committed Apr 4, 2024
1 parent ac8c6c8 commit 68d3306
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on: # yamllint disable-line rule:truthy
- master
release:
types:
- published
- released

env:
DOCKER_NAMESPACE: wayofdev/php-base
Expand All @@ -27,7 +27,7 @@ jobs:
os_name: ["alpine"]
php_version: ["8.1", "8.2", "8.3"]
php_type: ["fpm", "cli", "supervisord"]
builder: [{arch: "amd64", os: "ubuntu-latest"}, {arch: "arm64", os: "ubuntu-latest"}]
builder: [{arch: "amd64", os: "ubuntu-latest"}, {arch: "arm64", os: "macos-latest"}]
runs-on: ${{ matrix.builder.os }}
steps:

Expand All @@ -52,10 +52,13 @@ jobs:

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

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

- name: 🐳 Extract docker meta data
Expand Down Expand Up @@ -177,10 +180,13 @@ jobs:

- name: 🖥️ Setup docker QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: linux/amd64,linux/arm64

- name: 🛠️ Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
platforms: linux/amd64,linux/arm64
buildkitd-flags: "--debug"

- name: Create manifest list and push
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ concurrency:
cancel-in-progress: true

on:
push:
branches:
- master
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
Expand Down

0 comments on commit 68d3306

Please sign in to comment.