Skip to content

Commit 2e37398

Browse files
authored
add buildx for multiple image architectures
1 parent faec488 commit 2e37398

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ jobs:
4646
BRANCH_TO_DOCKER=$(echo ${GITHUB_REF##*/} | tr '[:upper:]' '[:lower:]' | sed 's/[^a-z0-9._-]//g')
4747
VERSION="${BRANCH_TO_DOCKER}-${GITHUB_RUN_NUMBER}"
4848
fi
49-
docker build -t wurstbrot/dsomm:latest .
49+
docker buildx build -t wurstbrot/dsomm:latest --platform=linux/amd64,linux/arm64,linux/arm/v7 -t wurstbrot/dsomm:latest .
5050
docker push wurstbrot/dsomm:latest
5151
docker tag wurstbrot/dsomm:latest wurstbrot/dsomm:${VERSION}
5252
docker push wurstbrot/dsomm:${VERSION}
5353
54-
54+

0 commit comments

Comments
 (0)