Skip to content

Commit

Permalink
Run docker image in test
Browse files Browse the repository at this point in the history
  • Loading branch information
arekkas committed Nov 6, 2017
1 parent 81e5562 commit 12b5f13
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,15 @@ jobs:
# Submit coverage details
# - run: goveralls -service=circle-ci -coverprofile=coverage.txt -repotoken=$COVERALLS_REPO_TOKEN

build-docker:
test-docker:
docker:
- image: library/docker:17.10
steps:
- checkout
- setup_remote_docker:
version: 17.10.0-ce
- run: docker build -f Dockerfile .
- run: docker build -f Dockerfile -t oathkeeper-test .
- run: docker run oathkeeper-test oathkeeper version

release:
docker:
Expand Down Expand Up @@ -90,7 +91,7 @@ workflows:
filters:
tags:
only: /.*/
- build-docker:
- test-docker:
requires:
- test
- swagger
Expand All @@ -100,7 +101,7 @@ workflows:
only: /.*/
- release:
requires:
- build-docker
- test-docker
filters:
tags:
only: /.*/
Expand Down

0 comments on commit 12b5f13

Please sign in to comment.