Move to Docker Hub registry

parent 017d66cd
Pipeline #1532 passed with stages
in 21 minutes and 44 seconds
......@@ -9,11 +9,11 @@ stages:
- release
TEST_IMAGE: briar/reproducer:${CI_BUILD_REF_NAME}
RELEASE_IMAGE: briar/reproducer:latest
- echo ${CI_BUILD_TOKEN} | docker login -u gitlab-ci-token --password-stdin
- echo ${DOCKER_HUB_PASS} | docker login -u ${DOCKER_HUB_USER} --password-stdin
stage: build
......@@ -58,14 +58,9 @@ you can use it for faster verification.
If not, you can skip to the next section to build the image yourself.
Then you are just trusting the official `debian:stable` which is out of our control.
To use our image without building it yourself,
you can just pull it from's docker registry:
To use our image without building it yourself, you can just pull it from Docker Hub:
docker pull
Tag it with our canonical name:
docker tag briar-reproducer:latest
docker pull briar/reproducer:latest
Now you can skip the next section and move to *Run the verification*.
......@@ -77,13 +72,13 @@ Check out the source repository:
Build our Docker image:
docker build -t briar-reproducer briar-reproducer
docker build -t briar/reproducer briar-reproducer
### Run the verification
To verify a specific version of Briar, run
docker run briar-reproducer:latest ./ [tag]
docker run briar/reproducer:latest ./ [tag]
Where `[tag]` is the git tag (source code snapshot) that identifies the version
you want to test, for example `release-1.0.1`.
......@@ -25,7 +25,7 @@ def main():
subprocess.check_call(['wget', '--no-verbose', url, '-O', reference_apk])
# build the app
repo_call(["./gradlew", GRADLE_TASK])
repo_call(["./gradlew", "--no-daemon", GRADLE_TASK])
# check if both APKs match
apk = os.path.join(REPO_DIR, APK_PATH)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment