Skip to content

Commit

Permalink
Fix circle-config: docker img name
Browse files Browse the repository at this point in the history
  • Loading branch information
janzh committed Jul 11, 2019
1 parent a7f41cc commit 8fdcd9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8fdcd9e

Please sign in to comment.