Skip to content

Commit

Permalink
CI: add Dockerhub CD
Browse files Browse the repository at this point in the history
  • Loading branch information
bertsky authored Mar 11, 2024
1 parent 155e503 commit 899a7cf
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,27 @@ jobs:
- run: git submodule update --init
- run: sudo make test

deploy-docker:
docker:
- image: circleci/buildpack-deps:stretch
steps:
- checkout
- setup_remote_docker: # https://circleci.com/docs/2.0/building-docker-images/
docker_layer_caching: true
- run: make docker
- run:
name: Login to Docker Hub
command: echo "$DOCKERHUB_PASS" | docker login --username "$DOCKERHUB_USER" --password-stdin
- run: docker push ocrd/fileformat

workflows:
version: 2
build-master:
jobs:
- build
deploy:
jobs:
- deploy-docker:
filters:
branches:
only: master

0 comments on commit 899a7cf

Please sign in to comment.