Skip to content

armgit / maybe

Public Imported from GitHub
0

The personal finance app for everyone

Only build armv7 on official releases (#1732)

Zach Gollwitzer3b0f8ae8c2f3
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 6ea13cc6..e55e802c 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -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