|
24 | 24 | build-images:
|
25 | 25 | strategy:
|
26 | 26 | matrix:
|
27 |
| - docker-platform: ["linux/arm64", "linux/amd64"] |
| 27 | + # NOTE(robinson) - temporarily disabling linux/arm64. Build is currently failing |
| 28 | + # due to broken mesa-gl package. Still need an arm build for the working version. |
| 29 | + docker-platform: ["linux/amd64"] |
28 | 30 | runs-on: ubuntu-latest-m
|
29 | 31 | needs: set-short-sha
|
30 | 32 | env:
|
@@ -93,22 +95,22 @@ jobs:
|
93 | 95 | - name: Pull AMD image
|
94 | 96 | run: |
|
95 | 97 | docker pull $DOCKER_BUILD_REPOSITORY:amd64-$SHORT_SHA
|
96 |
| - - name: Pull ARM image |
97 |
| - run: | |
98 |
| - docker pull $DOCKER_BUILD_REPOSITORY:arm64-$SHORT_SHA |
| 98 | + # - name: Pull ARM image |
| 99 | + # run: | |
| 100 | + # docker pull $DOCKER_BUILD_REPOSITORY:arm64-$SHORT_SHA |
99 | 101 | - name: Push latest build tags for AMD and ARM
|
100 | 102 | run: |
|
101 | 103 | # these are used to construct the final manifest but also cache-from in subsequent runs
|
102 | 104 | docker tag $DOCKER_BUILD_REPOSITORY:amd64-$SHORT_SHA $DOCKER_BUILD_REPOSITORY:amd64
|
103 | 105 | docker push $DOCKER_BUILD_REPOSITORY:amd64
|
104 |
| - docker tag $DOCKER_BUILD_REPOSITORY:arm64-$SHORT_SHA $DOCKER_BUILD_REPOSITORY:arm64 |
105 |
| - docker push $DOCKER_BUILD_REPOSITORY:arm64 |
| 106 | + # docker tag $DOCKER_BUILD_REPOSITORY:arm64-$SHORT_SHA $DOCKER_BUILD_REPOSITORY:arm64 |
| 107 | + # docker push $DOCKER_BUILD_REPOSITORY:arm64 |
106 | 108 | - name: Push multiarch manifest
|
107 | 109 | run: |
|
108 |
| - docker manifest create ${DOCKER_REPOSITORY}:latest $DOCKER_BUILD_REPOSITORY:amd64 $DOCKER_BUILD_REPOSITORY:arm64 |
| 110 | + docker manifest create ${DOCKER_REPOSITORY}:latest $DOCKER_BUILD_REPOSITORY:amd64 # $DOCKER_BUILD_REPOSITORY:arm64 |
109 | 111 | docker manifest push $DOCKER_REPOSITORY:latest
|
110 |
| - docker manifest create ${DOCKER_REPOSITORY}:$SHORT_SHA $DOCKER_BUILD_REPOSITORY:amd64 $DOCKER_BUILD_REPOSITORY:arm64 |
| 112 | + docker manifest create ${DOCKER_REPOSITORY}:$SHORT_SHA $DOCKER_BUILD_REPOSITORY:amd64 # $DOCKER_BUILD_REPOSITORY:arm64 |
111 | 113 | docker manifest push $DOCKER_REPOSITORY:$SHORT_SHA
|
112 | 114 | VERSION=$(grep -Po '(?<=__version__ = ")[^"]*' unstructured/__version__.py)
|
113 |
| - docker manifest create ${DOCKER_REPOSITORY}:$VERSION $DOCKER_BUILD_REPOSITORY:amd64 $DOCKER_BUILD_REPOSITORY:arm64 |
| 115 | + docker manifest create ${DOCKER_REPOSITORY}:$VERSION $DOCKER_BUILD_REPOSITORY:amd64 # $DOCKER_BUILD_REPOSITORY:arm64 |
114 | 116 | docker manifest push $DOCKER_REPOSITORY:$VERSION
|
0 commit comments