From c6e0b6e7d10b813e29e572dc03616e70600420a3 Mon Sep 17 00:00:00 2001
From: Philipp Trulson
Date: Wed, 23 Aug 2023 16:50:21 +0200
Subject: [PATCH] Stop building ARM containers for PRs
---
.github/workflows/ci.yaml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 345cd2f9..c9040de0 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -59,6 +59,7 @@ jobs:
id: generate_tags
- name: Set up QEMU
+ if: github.event_name != 'pull_request'
id: qemu
uses: docker/setup-qemu-action@v2
with:
@@ -88,4 +89,4 @@ jobs:
context: .
push: true
tags: ${{ steps.generate_tags.outputs.tags }}
- platforms: linux/amd64,linux/arm64
+ platforms: ${{ github.event_name != 'pull_request' && 'linux/amd64,linux/arm64' || 'linux/amd64' }}