Skip to content

Commit a9b50fc

Browse files
authored
[ci] Update docker_images jobs to use more CPUs for build (#2505)
1 parent b6655b6 commit a9b50fc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/docker_images.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
run: |
6262
if [ -n "$(echo ${{ inputs.platforms }} | grep ',')" ]; then
6363
# multi-platform builds get no platform tag
64-
echo "runner=linux-amd64-cpu8" >> $GITHUB_OUTPUT
64+
echo "runner=linux-amd64-cpu16" >> $GITHUB_OUTPUT
6565
echo "build_docs=${{ inputs.build_docs != 'false' }}" >> $GITHUB_OUTPUT
6666
is_versioned=${{ github.ref_type == 'tag' || startsWith(github.ref_name, 'releases/') || startsWith(github.ref_name, 'staging/') }}
6767
has_continuous_deployment=${{ startsWith(github.ref_name, 'experimental/') || github.ref_name == 'main' }}
@@ -71,12 +71,12 @@ jobs:
7171
elif [ -n "$(echo ${{ inputs.platforms }} | grep -i arm)" ]; then
7272
platform_tag=`echo ${{ inputs.platforms }} | sed 's/linux\///g' | tr -d ' '`
7373
echo "platform_tag=$platform_tag" >> $GITHUB_OUTPUT
74-
echo "runner=linux-arm64-cpu8" >> $GITHUB_OUTPUT
74+
echo "runner=linux-arm64-cpu16" >> $GITHUB_OUTPUT
7575
echo "build_docs=${{ inputs.build_docs == 'true' }}" >> $GITHUB_OUTPUT
7676
else
7777
platform_tag=`echo ${{ inputs.platforms }} | sed 's/linux\///g' | tr -d ' '`
7878
echo "platform_tag=$platform_tag" >> $GITHUB_OUTPUT
79-
echo "runner=linux-amd64-cpu8" >> $GITHUB_OUTPUT
79+
echo "runner=linux-amd64-cpu16" >> $GITHUB_OUTPUT
8080
echo "build_docs=${{ inputs.build_docs != 'false' }}" >> $GITHUB_OUTPUT
8181
fi
8282

0 commit comments

Comments
 (0)