mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
12 lines
338 B
Bash
Executable file
12 lines
338 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -x
|
|
set -e
|
|
PROJECT_PATH=$1
|
|
|
|
# Build the docker project
|
|
cd /data/$PROJECT_PATH
|
|
sg docker -c "docker build -q -rm -t registry ."
|
|
cd test; sg docker -c "docker build -q -rm -t docker-registry-test ."
|
|
|
|
# Run the tests
|
|
sg docker -c "docker run -rm -v /home/docker-ci/coverage/docker-registry:/data docker-registry-test"
|