Skip to content

Commit

Permalink
No multi-arch for whisper
Browse files Browse the repository at this point in the history
  • Loading branch information
joecorall committed Nov 16, 2024
1 parent 51d9aa5 commit c84383d
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,20 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Determine platforms
id: determine-platforms
run: |
if [[ "${{steps.setup.outputs.image}}" == "scyllaridae-whisper" ]]; then
echo "DOCKER_PLATFORMS=linux/amd64" >> $GITHUB_ENV
else
echo "DOCKER_PLATFORMS=linux/amd64,linux/arm64" >> $GITHUB_ENV
fi
- name: Build and push dockerhub
uses: docker/build-push-action@v5
with:
context: ${{steps.setup.outputs.context}}
platforms: |
linux/amd64
linux/arm64
platforms: ${{ env.DOCKER_PLATFORMS }}
build-args: |
TAG=${{steps.extract_tag.outputs.tag}}
push: true
Expand Down

0 comments on commit c84383d

Please sign in to comment.