From 8fdcd9e32d7de7c5ca707be9c6d30f5e7634eb15 Mon Sep 17 00:00:00 2001 From: Erik Jansen Date: Thu, 11 Jul 2019 12:51:04 +0200 Subject: [PATCH] Fix circle-config: docker img name --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e287d3e1..ab5e7b32 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -19,12 +19,12 @@ jobs: - barkendeploy/gradle-cache-persist - run: name: Build and publish Docker image - command: docker build -t docker.pkg.github.com/navikt/${CIRCLE_PROJECT_REPONAME}/application:${IMAGE_VERSION} . + command: docker build -t docker.pkg.github.com/navikt/${CIRCLE_PROJECT_REPONAME}/${CIRCLE_PROJECT_REPONAME}:${IMAGE_VERSION} . - run: name: Push docker image command: | echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin docker.pkg.github.com - docker push docker.pkg.github.com/navikt/${CIRCLE_PROJECT_REPONAME}/application:${IMAGE_VERSION} + docker push docker.pkg.github.com/navikt/${CIRCLE_PROJECT_REPONAME}/${CIRCLE_PROJECT_REPONAME}:${IMAGE_VERSION} workflows: version: 2