Skip to content

Commit

Permalink
circle ci -> docker hub integration #75
Browse files Browse the repository at this point in the history
  • Loading branch information
tillias committed Oct 29, 2020
1 parent 6f71ee6 commit e27e3ec
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,13 @@ jobs:
- when:
condition:
equal: [ dev, << pipeline.git.branch >> ]
- run: |
docker build -t tillias/microcatalog .
docker tag tillias/microcatalog tillias/microcatalog:$DOCKER_TAG
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
docker push tillias/microcatalog
- run:
name: Docker push
command: |
docker build -t tillias/microcatalog .
docker tag tillias/microcatalog tillias/microcatalog:$DOCKER_TAG
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
docker push tillias/microcatalog
- when:
condition:
equal: [ master, << pipeline.git.branch >> ]
Expand Down

0 comments on commit e27e3ec

Please sign in to comment.