From 109ed841d2b487d1241797d432a99b659bda6409 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 16 Oct 2026 20:57:58 +0500 Subject: workflows/ci: build Docker images for ARM for tags only --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to '.github') 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,9 +112,12 @@ 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 -- cgit v1.3