forked from cisocrgroup/ocrd_cis
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from joschrew/update-dockerfile
Update dockerfile
- Loading branch information
Showing
12 changed files
with
140 additions
and
177 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
version: 2.1 | ||
jobs: | ||
test-python3: | ||
docker: | ||
- image: ocrd/core | ||
environment: | ||
PIP: pip3 | ||
PYTHON: python3 | ||
steps: | ||
- checkout | ||
- run: make install | ||
- run: make test V="" | ||
|
||
deploy-docker: | ||
docker: | ||
- image: circleci/buildpack-deps:stretch | ||
environment: | ||
DOCKER_TAG: ocrd/cis | ||
steps: | ||
- checkout | ||
- setup_remote_docker: # https://circleci.com/docs/2.0/building-docker-images/ | ||
docker_layer_caching: true | ||
- run: make docker TAG=$DOCKER_TAG | ||
- run: | ||
name: Login to Docker Hub | ||
command: echo "$DOCKERHUB_PASS" | docker login --username "$DOCKERHUB_USER" --password-stdin | ||
- run: docker push $DOCKER_TAG | ||
|
||
workflows: | ||
version: 2 | ||
build-and-test: | ||
jobs: | ||
- test-python3 | ||
deploy: | ||
jobs: | ||
- deploy-docker: | ||
filters: | ||
branches: | ||
only: | ||
- master | ||
- fix-alpha-shape |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.