ci: tag eynollah docker image with git tag version if possible, else latest

This commit is contained in:
kba 2026-04-29 16:28:09 +02:00
parent bb092364af
commit f58189d5f4
2 changed files with 10 additions and 4 deletions

View file

@ -35,7 +35,7 @@ jobs:
password: ${{ secrets.DOCKERIO_PASSWORD }}
- name: Build the Docker image
# build both tags at the same time
run: make docker DOCKER_TAG="docker.io/ocrd/eynollah -t ghcr.io/qurator-spk/eynollah"
run: make docker DOCKER_TAG="docker.io/ocrd/eynollah ghcr.io/qurator-spk/eynollah"
- name: Test the Docker image
run: docker run --rm ocrd/eynollah ocrd-eynollah-segment -h
- name: Push to Dockerhub