8000 Update docker-publish.yml (#479) · Unstructured-IO/unstructured-api@d9afddf · GitHub
[go: up one dir, main page]

Skip to content

Commit d9afddf

Browse files
authored
Update docker-publish.yml (#479)
did not comment out the arm actions for publishing
1 parent 534ae63 commit d9afddf

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

.github/workflows/docker-publish.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -121,22 +121,25 @@ jobs:
121121
- name: Pull AMD image
122122
run: |
123123
docker pull $DOCKER_BUILD_REPOSITORY:amd64-$SHORT_SHA
124-
- name: Pull ARM image
125-
run: |
126-
docker pull $DOCKER_BUILD_REPOSITORY:arm64-$SHORT_SHA
124+
# - name: Pull ARM image
125+
# run: |
126+
# docker pull $DOCKER_BUILD_REPOSITORY:arm64-$SHORT_SHA
127127
- name: Push AMD and ARM tags
128128
run: |
129129
# these are used to construct the final manifest but also cache-from in subsequent runs
130130
docker tag $DOCKER_BUILD_REPOSITORY:amd64-$SHORT_SHA $DOCKER_BUILD_REPOSITORY:amd64
131131
docker push $DOCKER_BUILD_REPOSITORY:amd64
132-
docker tag $DOCKER_BUILD_REPOSITORY:arm64-$SHORT_SHA $DOCKER_BUILD_REPOSITORY:arm64
133-
docker push $DOCKER_BUILD_REPOSITORY:arm64
132+
#docker tag $DOCKER_BUILD_REPOSITORY:arm64-$SHORT_SHA $DOCKER_BUILD_REPOSITORY:arm64
133+
#docker push $DOCKER_BUILD_REPOSITORY:arm64
134134
- name: Push multiarch manifest
135135
run: |
136-
docker manifest create ${DOCKER_REPOSITORY}:latest $DOCKER_BUILD_REPOSITORY:amd64 $DOCKER_BUILD_REPOSITORY:arm64
136+
#docker manifest create ${DOCKER_REPOSITORY}:latest $DOCKER_BUILD_REPOSITORY:amd64 $DOCKER_BUILD_REPOSITORY:arm64
137+
docker manifest create ${DOCKER_REPOSITORY}:latest $DOCKER_BUILD_REPOSITORY:amd64
137138
docker manifest push $DOCKER_REPOSITORY:latest
138-
docker manifest create ${DOCKER_REPOSITORY}:$SHORT_SHA $DOCKER_BUILD_REPOSITORY:amd64 $DOCKER_BUILD_REPOSITORY:arm64
139+
#docker manifest create ${DOCKER_REPOSITORY}:$SHORT_SHA $DOCKER_BUILD_REPOSITORY:amd64 $DOCKER_BUILD_REPOSITORY:arm64
140+
docker manifest create ${DOCKER_REPOSITORY}:$SHORT_SHA $DOCKER_BUILD_REPOSITORY:amd64
139141
docker manifest push $DOCKER_REPOSITORY:$SHORT_SHA
140142
VERSION=$(grep -m1 version preprocessing-pipeline-family.yaml | cut -d ' ' -f2)
141-
docker manifest create ${DOCKER_REPOSITORY}:$VERSION $DOCKER_BUILD_REPOSITORY:amd64 $DOCKER_BUILD_REPOSITORY:arm64
143+
#docker manifest create ${DOCKER_REPOSITORY}:$VERSION $DOCKER_BUILD_REPOSITORY:amd64 $DOCKER_BUILD_REPOSITORY:arm64
144+
docker manifest create ${DOCKER_REPOSITORY}:$VERSION $DOCKER_BUILD_REPOSITORY:amd64
142145
docker manifest push ${DOCKER_REPOSITORY}:$VERSION

0 commit comments

Comments
 (0)
0