Skip to content

Commit a968088

Browse files
committed
Changes pushd build script to make sure it uses linux/amd64.
1 parent 35bb308 commit a968088

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pushd_build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash -xe
22
# This script is for building and pushing to pushd ECR docker repo.
33

4-
docker build -t $AWS_ACCOUNT_ID.dkr.ecr.us-east-1.amazonaws.com/pushd/imgproxy:$(git rev-parse HEAD) -f docker/Dockerfile .
4+
docker buildx build --platform linux/amd64 -t $AWS_ACCOUNT_ID.dkr.ecr.us-east-1.amazonaws.com/pushd/imgproxy:$(git rev-parse HEAD) -f docker/Dockerfile .
55
docker push $AWS_ACCOUNT_ID.dkr.ecr.us-east-1.amazonaws.com/pushd/imgproxy:$(git rev-parse HEAD)

0 commit comments

Comments
 (0)