Skip to content

Commit b8cca71

Browse files
authored
Merge pull request #47 from wayofdev/feat/new-ci-workflows
2 parents 22dc0c1 + 2deb2da commit b8cca71

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -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: "macos-latest"}]
30+
builder: [{arch: "amd64", os: "ubuntu-latest"}, {arch: "arm64", os: "ubuntu-latest"}]
3131
runs-on: ${{ matrix.builder.os }}
3232
steps:
3333

@@ -43,19 +43,9 @@ jobs:
4343
- name: 📦 Check out the codebase
4444
uses: actions/checkout@v4
4545

46-
- name: 💻 Set up Ansible for MacOS
47-
if: ${{ matrix.builder.os == 'macos-latest' }}
48-
run: |
49-
sudo pip3 install --upgrade pip
50-
sudo pip3 install ansible
51-
5246
- name: 🤖 Generate dist files
5347
run: ansible-playbook src/playbook.yml -l ${{ matrix.php_version }}-${{ matrix.php_type }}-${{ matrix.os_name }}
5448

55-
- name: 💻 Set up Docker for MacOS
56-
if: ${{ matrix.builder.os == 'macos-latest' }}
57-
uses: docker-practice/actions-setup-docker@master
58-
5949
- name: 🖥️ Setup docker QEMU
6050
uses: docker/setup-qemu-action@v3
6151
with:
@@ -123,7 +113,7 @@ jobs:
123113
*.platform=linux/${{ matrix.builder.arch }}
124114
*.cache-from=type=gha,scope=build-${{ env.PLATFORM_CACHE_TAG }}
125115
*.cache-to=type=gha,scope=build-${{ env.PLATFORM_CACHE_TAG }}
126-
*.output=type=image,"name=${{ env.DOCKER_NAMESPACE }},${{ env.GHCR_NAMESPACE }}",push-by-digest=true,name-canonical=true,push=${{ github.event_name != 'pull_request' && github.event_name != 'release' || (github.event_name == 'release' && github.event.action == 'published') }}
116+
*.output=type=image,"name=${{ env.DOCKER_NAMESPACE }},${{ env.GHCR_NAMESPACE }}",push-by-digest=true,name-canonical=true,push=${{ github.event_name != 'pull_request' && github.event_name != 'release' || (github.event_name == 'release' && github.event.action == 'released') }}
127117
128118
- name: 🔍 Debug Bake Metadata Output
129119
run: |

0 commit comments

Comments
 (0)