File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 22
33GITHUB_OWNER=ddev
44PUSH=" "
5+ LOAD=" "
56IMAGE_NAME=" ghcr.io/ochorocho/ddev-gitlab-ci"
67DDEV_VERSION=" "
78
7374
7475loadVersionAndTags
7576
76- # @todo: Add --load option
77- docker buildx build --platform linux/amd64,linux/arm64 --no-cache --pull . -f Dockerfile ${DOCKER_TAGS[@]} --build-arg ddev_version=" $DDEV_VERSION " $PUSH $LOAD
78- # docker run --rm -it -v "$(pwd)/test.sh:/tmp/test.sh" --entrypoint "ash" "$IMAGE_NAME:$DDEV_VERSION" /tmp/test.sh
77+ docker buildx build --platform linux/amd64,linux/arm64 --progress plain --no-cache --pull . -f Dockerfile ${DOCKER_TAGS[@]} --build-arg ddev_version=" $DDEV_VERSION " $PUSH $LOAD
78+
79+ if [ $LOAD ]; then
80+ docker run --rm -it -v " $( pwd) /test.sh:/tmp/test.sh" --entrypoint " ash" " $IMAGE_NAME :$DDEV_VERSION " /tmp/test.sh
81+ fi
82+
Original file line number Diff line number Diff line change 33docker --version | head -n 1 || exit 1
44docker-compose --version | head -n 1 || exit 1
55ddev --version | head -n 1 || exit 1
6- mkcert -version
6+ echo " mkcert $( mkcert -version || exit 1 ) "
77echo " Current user: $( whoami) "
You can’t perform that action at this time.
0 commit comments