Skip to content

Commit dfb1c07

Browse files
committed
trim dockcross image builds to specific platforms
1 parent e204b21 commit dfb1c07

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
uses: ./.github/actions/setup-build
7979
- name: Configure Docker Images
8080
run: |
81-
./docker-images/build-all.sh
81+
./docker-images/build-images.sh linux-x64 linux-arm64
8282
- name: Build and Test ${{ env.PACKAGE_NAME }}
8383
run: |
8484
./gradlew build
@@ -142,7 +142,7 @@ jobs:
142142
shell: bash
143143
run: |
144144
echo "Building Docker images"
145-
./docker-images/build-all.sh
145+
./docker-images/build-images.sh mingw-x64
146146
echo "Built images:"
147147
ls dockcross-*
148148
- name: Build and Test ${{ env.PACKAGE_NAME }}

docker-images/build-images.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ fi
2828
echo "using container executor OCI_EXE=$OCI_EXE"
2929

3030
if [ "$#" -gt 0 ]; then
31-
IMAGES=($@)
31+
IMAGES=("$@")
3232
else
3333
IMAGES=(
3434
"linux-x64"

0 commit comments

Comments
 (0)