Only build armv7 on official releases #1732

Merged
zachgoll merged 1 commits from zachgoll/only-build-for-armv7-on-releases into main 2025-01-29 03:08:04 +08:00

View File

@@ -65,7 +65,7 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64,linux/arm64,linux/arm/v7
platforms: ${{ startsWith(github.ref, 'refs/tags/v') && 'linux/amd64,linux/arm64,linux/arm/v7' || 'linux/amd64,linux/arm64' }}
cache-from: type=gha
cache-to: type=gha,mode=max
provenance: false