File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,16 +48,19 @@ jobs:
4848 if [[ "${{ matrix.arch }}" == "amd64" ]]; then
4949 echo "dockerfile=dockerfiles/pyopenms/manylinux/Dockerfile" >> $GITHUB_ENV
5050 echo "platform_tag=amd64" >> $GITHUB_ENV
51+ echo "docker_platform=linux/amd64" >> $GITHUB_ENV
5152 else
5253 echo "dockerfile=dockerfiles/pyopenms/manylinux/ARM64_Dockerfile" >> $GITHUB_ENV
5354 echo "platform_tag=arm64" >> $GITHUB_ENV
55+ echo "docker_platform=linux/arm64" >> $GITHUB_ENV
5456 fi
5557 - name : Build and Push Docker Image (${{ matrix.arch }})
5658 uses : docker/build-push-action@v3
5759 with :
5860 push : true
5961 file : ${{ env.dockerfile }}
60- context : .
62+ context : .
63+ platforms : ${{ env.docker_platform }}
6164 build-args : |
6265 OPENMS_BRANCH=${{ steps.extract_branch.outputs.branch }}
6366 OPENMS_VERSION=${{ steps.tag_name.outputs.tag }}
You can’t perform that action at this time.
0 commit comments