Update the CI/CD config to build and push multi-platform image (#20009)

This commit is contained in:
Berke Sayın 2024-05-10 00:39:04 +03:00 committed by GitHub
parent 4c13139ab9
commit bc8c3bd1ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -101,6 +101,7 @@ to Docker Hub.
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
with: with:
context: . context: .
platforms: linux/amd64,linux/arm64/v8
push: true push: true
target: prod target: prod
tags: ${{ secrets.DOCKER_USERNAME }}/${{ github.event.repository.name }}:latest tags: ${{ secrets.DOCKER_USERNAME }}/${{ github.event.repository.name }}:latest