We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 81a5bfc + fd5ea8d commit f97ba50Copy full SHA for f97ba50
Makefile
@@ -0,0 +1,9 @@
1
+.PHONY: image test
2
+
3
+IMAGE_NAME ?= codeclimate/codeclimate-bundler-audit
4
5
+image:
6
+ docker build --rm -t $(IMAGE_NAME) .
7
8
+test: image
9
+ docker run --rm $(IMAGE_NAME) bundle exec rake
circle.yml
@@ -8,10 +8,12 @@ machine:
CODECLIMATE_DOCKER_REGISTRY_USERNAME: circleci
CODECLIMATE_DOCKER_REGISTRY_EMAIL: [email protected]
10
11
+dependencies:
12
+ override: #noop
13
14
test:
15
override:
- - bundle exec rake
- - docker build -t=$PRIVATE_REGISTRY/$CIRCLE_PROJECT_REPONAME:b$CIRCLE_BUILD_NUM .
16
+ - IMAGE_NAME="$PRIVATE_REGISTRY/$CIRCLE_PROJECT_REPONAME:b$CIRCLE_BUILD_NUM" make test
17
18
deployment:
19
registry:
0 commit comments