ci: add platform to build step

This commit is contained in:
log101 2025-03-01 12:35:28 +03:00
parent 9f161840a2
commit fbb5dbfcde

View File

@ -40,6 +40,7 @@ jobs:
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6
with: with:
context: . context: .
platforms: linux/amd64 # Explicitly specify target architecture
push: ${{ gitea.event_name != 'pull_request' }} push: ${{ gitea.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.TAG }} tags: ${{ steps.meta.outputs.TAG }}
# Add build caching for faster builds # Add build caching for faster builds