Skip to content

Commit

Permalink
CI: test Docker builds
Browse files Browse the repository at this point in the history
  • Loading branch information
bertsky committed Aug 20, 2024
1 parent 7fc4071 commit ce249ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:
run: echo "IMAGE_NAME=ghcr.io/${REPO_NAME,,}" >> $GITHUB_ENV
- name: Build the Docker image
run: make docker DOCKER_TAG=${{ env.IMAGE_NAME }}
- name: Test the Docker image
run: docker run --rm ${{ env.IMAGE_NAME }} ocrd-tesserocr-segment -h
- name: Push to Github Container Registry
run: docker push ${{ env.IMAGE_NAME }}

0 comments on commit ce249ab

Please sign in to comment.