|
54 | 54 | strategy: |
55 | 55 | fail-fast: false |
56 | 56 | matrix: |
57 | | - platform: [amd64, arm64] |
| 57 | + platform: [amd64] # arm64 |
58 | 58 | steps: |
59 | 59 | - name: Checkout |
60 | 60 | uses: actions/checkout@v2 |
|
66 | 66 |
|
67 | 67 | - name: Set up Docker Buildx |
68 | 68 | uses: docker/setup-buildx-action@v1 |
| 69 | + with: |
| 70 | + buildkitd-flags: --debug |
| 71 | + driver-opts: image=moby/buildkit:v0.9.1 |
69 | 72 |
|
70 | 73 | - name: Login to Github Docker Registry |
71 | 74 | uses: docker/login-action@v1 |
|
99 | 102 | run: docker buildx create --use |
100 | 103 |
|
101 | 104 | - name: Merge single-platform build-su2-tsan images |
102 | | - run: docker buildx imagetools create -t ghcr.io/${{ github.repository_owner }}/su2/build-su2-tsan:${{ needs.date-tag.outputs.date_tag }} ghcr.io/${{ github.repository_owner }}/su2/build-su2-tsan-amd64:${{ needs.date-tag.outputs.date_tag }} ghcr.io/${{ github.repository_owner }}/su2/build-su2-tsan-arm64:${{ needs.date-tag.outputs.date_tag }} |
| 105 | + run: docker buildx imagetools create -t ghcr.io/${{ github.repository_owner }}/su2/build-su2-tsan:${{ needs.date-tag.outputs.date_tag }} ghcr.io/${{ github.repository_owner }}/su2/build-su2-tsan-amd64:${{ needs.date-tag.outputs.date_tag }} |
| 106 | + # ghcr.io/${{ github.repository_owner }}/su2/build-su2-tsan-arm64:${{ needs.date-tag.outputs.date_tag }} |
103 | 107 |
|
104 | 108 | test-su2: |
105 | 109 | needs: [date-tag, build-su2, build-su2-tsan] |
@@ -131,7 +135,8 @@ jobs: |
131 | 135 | run: docker buildx build --platform=linux/amd64 --platform=linux/arm64 --build-arg BASE_IMAGE=ghcr.io/${{ github.repository_owner }}/su2/build-su2:${{ needs.date-tag.outputs.date_tag }} -t ghcr.io/${{ github.repository_owner }}/su2/test-su2:${{ needs.date-tag.outputs.date_tag }} --push ./test/ |
132 | 136 |
|
133 | 137 | - name: Build and push test-su2-tsan |
134 | | - run: docker buildx build --platform=linux/amd64 --platform=linux/arm64 --build-arg BASE_IMAGE=ghcr.io/${{ github.repository_owner }}/su2/build-su2-tsan:${{ needs.date-tag.outputs.date_tag }} -t ghcr.io/${{ github.repository_owner }}/su2/test-su2-tsan:${{ needs.date-tag.outputs.date_tag }} --push ./test/ |
| 138 | + run: docker buildx build --platform=linux/amd64 --build-arg BASE_IMAGE=ghcr.io/${{ github.repository_owner }}/su2/build-su2-tsan:${{ needs.date-tag.outputs.date_tag }} -t ghcr.io/${{ github.repository_owner }}/su2/test-su2-tsan:${{ needs.date-tag.outputs.date_tag }} --push ./test/ |
| 139 | + # --platform=linux/arm64 |
135 | 140 |
|
136 | 141 | cross-build-su2-mac: |
137 | 142 | needs: [date-tag, build-su2] |
@@ -163,7 +168,7 @@ jobs: |
163 | 168 | run: docker buildx build --platform=linux/amd64 --platform=linux/arm64 --build-arg BASE_IMAGE=ghcr.io/${{ github.repository_owner }}/su2/build-su2:${{ needs.date-tag.outputs.date_tag }} -t ghcr.io/${{ github.repository_owner }}/su2/build-su2-cross-stage1:${{ needs.date-tag.outputs.date_tag }} --push --file ./build_cross/Dockerfile.stage1 ./build_cross/ |
164 | 169 |
|
165 | 170 | cross-build-su2-linux: |
166 | | - needs: [build-su2, cross-build-su2-mac] |
| 171 | + needs: [date-tag, build-su2, cross-build-su2-mac] |
167 | 172 | if: ${{ always() && !(contains(needs.*.result, 'failure')) }} |
168 | 173 | runs-on: ubuntu-latest |
169 | 174 | steps: |
|
0 commit comments