From 0e888e5a11a9c3b3d7c7a36fa84b3c32c0e59101 Mon Sep 17 00:00:00 2001 From: Viraj Shah Date: Fri, 17 Jan 2020 17:18:39 +0000 Subject: [PATCH] Use custom docker image --- .gitlab-ci.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 32c3fae..aa7cedb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,22 +1,19 @@ default: - image: maven:latest + image: thebeggs/simplewebapp-base:latest + username: $DOCKER_HUB_USERNAME + password: $DOCKER_HUB_TOKEN + email: $DOCKER_HUB_EMAIL variables: PORT: "5000" build: stage: build - before_script: - - apt-get update - - apt-get install -qq -y pandoc texlive script: - mvn compile test: stage: test - before_script: - - apt-get update - - apt-get install -qq -y pandoc texlive script: - mvn test -- GitLab