Skip to content

Commit 8b7e5bb

Browse files
authored
fix: temporarily disable arm64 build (#3624)
### Summary Per [this job](https://github.com/Unstructured-IO/unstructured/actions/runs/10842120429/job/30087252047), `arm64` builds are currently failing, likely because the workaround for the broken `mesa-gl` package from the `wolfi` repository only works for `amd64`. Temporarily disabling the `arm64` build in order to push out the latest `amd64` image with security patches, then will revert and work the fix for the `arm64` image. - Unstructured-IO/base-images#44
1 parent 159b8a9 commit 8b7e5bb

File tree

3 files changed

+13
-11
lines changed

3 files changed

+13
-11
lines changed

.github/workflows/docker-publish.yml

+11-9
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ jobs:
2424
build-images:
2525
strategy:
2626
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"]
2830
runs-on: ubuntu-latest-m
2931
needs: set-short-sha
3032
env:
@@ -93,22 +95,22 @@ jobs:
9395
- name: Pull AMD image
9496
run: |
9597
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
99101
- name: Push latest build tags for AMD and ARM
100102
run: |
101103
# these are used to construct the final manifest but also cache-from in subsequent runs
102104
docker tag $DOCKER_BUILD_REPOSITORY:amd64-$SHORT_SHA $DOCKER_BUILD_REPOSITORY:amd64
103105
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
106108
- name: Push multiarch manifest
107109
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
109111
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
111113
docker manifest push $DOCKER_REPOSITORY:$SHORT_SHA
112114
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
114116
docker manifest push $DOCKER_REPOSITORY:$VERSION

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## 0.15.12-dev2
1+
## 0.15.12
22

33
### Enhancements
44

unstructured/__version__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.15.12-dev2" # pragma: no cover
1+
__version__ = "0.15.12" # pragma: no cover

0 commit comments

Comments
 (0)