summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.github/workflows/ci.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 5c7281c..8d47660 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -112,10 +112,13 @@ jobs:
uses: docker/setup-buildx-action@v4
- id: params
name: Push? Which platforms?
- # Building for ARM for every commit not in master is too time-consuming.
+ # Building for ARM for every commit in master is too time-consuming.
run: |
if [ '${{ github.ref }}' = 'refs/heads/master' ]; then
echo 'push=true' >> "$GITHUB_OUTPUT"
+ echo 'platforms=amd64' >> "$GITHUB_OUTPUT"
+ elif ${{ startsWith(github.ref, 'refs/tags/') }}; then
+ echo 'push=true' >> "$GITHUB_OUTPUT"
echo 'platforms=amd64,armhf,arm64' >> "$GITHUB_OUTPUT"
else
echo 'push=false' >> "$GITHUB_OUTPUT"