|
27 | 27 | os_name: ["alpine"] |
28 | 28 | php_version: ["8.1", "8.2", "8.3"] |
29 | 29 | 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"}] |
31 | 31 | runs-on: ${{ matrix.builder.os }} |
32 | 32 | steps: |
33 | 33 |
|
|
43 | 43 | - name: 📦 Check out the codebase |
44 | 44 | uses: actions/checkout@v4 |
45 | 45 |
|
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 | | -
|
52 | 46 | - name: 🤖 Generate dist files |
53 | 47 | run: ansible-playbook src/playbook.yml -l ${{ matrix.php_version }}-${{ matrix.php_type }}-${{ matrix.os_name }} |
54 | 48 |
|
55 | | - - name: 💻 Set up Docker for MacOS |
56 | | - if: ${{ matrix.builder.os == 'macos-latest' }} |
57 | | - uses: docker-practice/actions-setup-docker@master |
58 | | - |
59 | 49 | - name: 🖥️ Setup docker QEMU |
60 | 50 | uses: docker/setup-qemu-action@v3 |
61 | 51 | with: |
@@ -123,7 +113,7 @@ jobs: |
123 | 113 | *.platform=linux/${{ matrix.builder.arch }} |
124 | 114 | *.cache-from=type=gha,scope=build-${{ env.PLATFORM_CACHE_TAG }} |
125 | 115 | *.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') }} |
127 | 117 |
|
128 | 118 | - name: 🔍 Debug Bake Metadata Output |
129 | 119 | run: | |
|
0 commit comments