Skip to content
This repository was archived by the owner on Oct 17, 2025. It is now read-only.

Commit b763c83

Browse files
committed
build single arch for PR
1 parent fe787f8 commit b763c83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
uses: redhat-actions/buildah-build@v2
6565
with:
6666
image: ${{ env.CI_IMG }}
67-
archs: amd64, arm64
67+
archs: ${{ github.event_name == 'pull_request' && 'amd64' || 'amd64, arm64' }}
6868
tags: ${{ github.event_name != 'pull_request' && github.ref_name || '' }} ${{ github.ref == 'refs/heads/main' && 'latest' || '' }} ${{ env.DATE_TAG }} ${{ steps.check-branch.outputs.image-tag }} ${{ steps.check-commit.outputs.image-tag }} ${{ steps.check-commit.outputs.image-tag-patch }} ${{ steps.check-commit.outputs.image-tag-release }}
6969
containerfiles: |
7070
./Containerfile

0 commit comments

Comments
 (0)