Skip to content

Commit

Permalink
Update Docker workflows to support multi-platform builds for arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
simlarsen committed Sep 19, 2024
1 parent 4f0526b commit cd64280
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1130,8 +1130,7 @@ jobs:
with:
file: ./LLM/Dockerfile
context: ./LLM
# arm64 is not supported by the base image of the LLM
platforms: linux/amd64
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down Expand Up @@ -1202,8 +1201,7 @@ jobs:
with:
file: ./Docs/Dockerfile
context: .
# arm64 is not supported by the base image of the LLM
platforms: linux/amd64
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down Expand Up @@ -1277,8 +1275,7 @@ jobs:
with:
file: ./Worker/Dockerfile
context: .
# arm64 is not supported by the base image of the LLM
platforms: linux/amd64
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down Expand Up @@ -1352,8 +1349,7 @@ jobs:
with:
file: ./Workflow/Dockerfile
context: .
# arm64 is not supported by the base image of the LLM
platforms: linux/amd64
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down Expand Up @@ -1428,8 +1424,7 @@ jobs:
with:
file: ./APIReference/Dockerfile
context: .
# arm64 is not supported by the base image of the LLM
platforms: linux/amd64
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down

0 comments on commit cd64280

Please sign in to comment.