Skip to content

Commit

Permalink
arm64 platform (#304)
Browse files Browse the repository at this point in the history
fixes #150
  • Loading branch information
fkorotkov authored Jan 6, 2024
1 parent 3a3e8f7 commit a3a4eb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e

if [ "$CIRRUS_BRANCH" != "master" ]
then
docker buildx build --load \
docker buildx build --platform linux/amd64,linux/arm64 \
--tag ghcr.io/cirruslabs/flutter:${FLUTTER_VERSION/+/-} \
--tag ghcr.io/cirruslabs/flutter:$DOCKER_TAG \
--build-arg flutter_version=$FLUTTER_VERSION \
Expand All @@ -14,7 +14,7 @@ fi

echo $GITHUB_TOKEN | docker login ghcr.io -u fkorotkov --password-stdin

docker buildx build --push \
docker buildx build --platform linux/amd64,linux/arm64 --push \
--tag ghcr.io/cirruslabs/flutter:${FLUTTER_VERSION/+/-} \
--tag ghcr.io/cirruslabs/flutter:$DOCKER_TAG \
--build-arg flutter_version=$FLUTTER_VERSION \
Expand Down

0 comments on commit a3a4eb0

Please sign in to comment.