File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments