Skip to content

Commit 8832813

Browse files
authored
Remove platforms from container build invocation (#216)
This ensures it runs on the machine's platform and thus is faster Signed-off-by: Juan Antonio Osorio <[email protected]>
1 parent 7d7df6a commit 8832813

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/build-containers.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,6 @@ jobs:
383383
with:
384384
context: ${{ steps.dockerfile.outputs.dockerfile_dir }}
385385
file: ${{ steps.dockerfile.outputs.dockerfile_path }}
386-
platforms: linux/amd64
387386
load: true
388387
tags: local-scan:${{ steps.meta.outputs.server_name }}-${{ steps.meta.outputs.version }}
389388
cache-from: type=gha
@@ -706,4 +705,4 @@ jobs:
706705
# Add efficiency note
707706
changed_count=$(echo '${{ needs.discover-configs.outputs.changed-configs }}' | jq length)
708707
total_count=$(echo '${{ needs.discover-configs.outputs.configs }}' | jq length)
709-
echo "- **Efficiency**: Built $changed_count out of $total_count configurations" >> $GITHUB_STEP_SUMMARY
708+
echo "- **Efficiency**: Built $changed_count out of $total_count configurations" >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)