From 9dbc5fa6b58f1353cd454ab20200aae82172831c Mon Sep 17 00:00:00 2001 From: andyjk15 Date: Fri, 26 Jun 2020 01:17:54 +0100 Subject: [PATCH] [26.06.20] Docker stuff --- configuration/pipelines/build.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configuration/pipelines/build.groovy b/configuration/pipelines/build.groovy index e551b0e..fcc4fa2 100644 --- a/configuration/pipelines/build.groovy +++ b/configuration/pipelines/build.groovy @@ -78,8 +78,8 @@ try { def image = docker.build("db-gateway:${env.APPLICATION_VERSION}") def latest = docker.build("db-gateway:latest") - sh "docker build db-gateway:${env.APPLICATION_VERSION}" - sh "docker build db-gateway:latest" + sh "docker build -t db-gateway:${env.APPLICATION_VERSION}" + sh "docker build -t db-gateway:latest" sh "docker tag db-gateway:${env.APPLICATION_VERSION} ${env.DOCKER_REPOSITORY}/db-gateway:${env.APPLICATION_VERSION}" sh "docker tag db-gateway:latest ${env.DOCKER_REPOSITORY}/db-gateway:latest"