Skip to content

Commit e9a83c7

Browse files
committed
ci: remove arm64 build, use amd64 only
1 parent dddc09e commit e9a83c7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/docker.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,13 +119,13 @@ jobs:
119119
sarif_file: 'trivy-results-${{ matrix.component }}.sarif'
120120
category: 'trivy-${{ matrix.component }}'
121121

122-
- name: Build and push multi-platform image
122+
- name: Push image
123123
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
124124
uses: docker/build-push-action@v6
125125
with:
126126
context: .
127127
file: Dockerfile.${{ matrix.component }}
128-
platforms: linux/amd64,linux/arm64
128+
platforms: linux/amd64
129129
push: true
130130
tags: |
131131
${{ steps.image.outputs.name }}:${{ steps.tag.outputs.value }}
@@ -142,5 +142,5 @@ jobs:
142142
echo "::notice title=Docker Image (${{ matrix.component }})::Image pushed to ${IMAGE_URL}"
143143
echo "Component: ${{ matrix.component }}" >> $GITHUB_STEP_SUMMARY
144144
echo "Image: ${{ steps.image.outputs.name }}:${{ steps.tag.outputs.value }}" >> $GITHUB_STEP_SUMMARY
145-
echo "Platforms: linux/amd64, linux/arm64" >> $GITHUB_STEP_SUMMARY
145+
echo "Platform: linux/amd64" >> $GITHUB_STEP_SUMMARY
146146
echo "Commit: ${{ steps.tag.outputs.commit_sha }}" >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)