Skip to content

Commit

Permalink
Merge pull request #32 from dougbtv/travis-openshift-build
Browse files Browse the repository at this point in the history
Updates travis to build Dockerfile.openshift
  • Loading branch information
dougbtv authored Jan 23, 2020
2 parents 7263a7f + 1bdf149 commit d3c8d8e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ script:
- ./hack/build-go.sh
- KUBEBUILDER_ASSETS="$(pwd)/bin" $GOPATH/bin/goveralls -service=travis-ci
- docker build -t dougbtv/whereabouts .
- docker build -t dougbtv/whereabouts-ocp -f Dockerfile.openshift .
- docker images

deploy:
# Push images to Dockerhub on merge to master
Expand All @@ -38,6 +40,7 @@ deploy:
bash -c '
docker login -u "$REGISTRY_USER" -p "$REGISTRY_PASS";
docker push dougbtv/whereabouts:latest;
docker push dougbtv/whereabouts-ocp:latest;
echo done'
- provider: script
skip_cleanup: true
Expand Down

0 comments on commit d3c8d8e

Please sign in to comment.