Skip to content

Commit

Permalink
Whats the problem here?
Browse files Browse the repository at this point in the history
  • Loading branch information
adamrdrew committed Sep 22, 2023
1 parent 279b3e5 commit 3622d79
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pr_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ docker rm -f $CONTAINER_NAME-run
#docker --config="$DOCKER_CONF" buildx build --builder multiarch --platform linux/amd64 --build-arg BASE_IMAGE="$BASE_IMG" --build-arg GOARCH="amd64" -t "${IMAGE}:${IMAGE_TAG}-amd64" . --load
#docker --config="$DOCKER_CONF" buildx build --builder multiarch --platform linux/arm64 --build-arg BASE_IMAGE="$BASE_IMG" --build-arg GOARCH="arm64" -t "${IMAGE}:${IMAGE_TAG}-arm64" . --load

BASE_IMAGE="quay.io/cloudservices/frontend-operator-build-base:54d9d22e"
#BASE_IMAGE="quay.io/cloudservices/frontend-operator-build-base:54d9d22e"

docker --config="$DOCKER_CONF" build --platform linux/amd64 --build-arg BASE_IMAGE="$BASE_IMG" --build-arg GOARCH="amd64" -t "${IMAGE}:${IMAGE_TAG}-amd64" .
docker --config="$DOCKER_CONF" build --platform linux/arm64 --build-arg BASE_IMAGE="$BASE_IMG" --build-arg GOARCH="arm64" -t "${IMAGE}:${IMAGE_TAG}-arm64" .
docker --config="$DOCKER_CONF" build --platform linux/amd64 --build-arg BASE_IMAGE="quay.io/cloudservices/frontend-operator-build-base:54d9d22e" --build-arg GOARCH="amd64" -t "${IMAGE}:${IMAGE_TAG}-amd64" .
docker --config="$DOCKER_CONF" build --platform linux/arm64 --build-arg BASE_IMAGE="quay.io/cloudservices/frontend-operator-build-base:54d9d22e" --build-arg GOARCH="arm64" -t "${IMAGE}:${IMAGE_TAG}-arm64" .

docker --config="$DOCKER_CONF" manifest create "${IMAGE}:${IMAGE_TAG}" \
"${IMAGE}:${IMAGE_TAG}-amd64" \
Expand Down

0 comments on commit 3622d79

Please sign in to comment.