From 4cc461ce173481d1589cce926925a4005664b673 Mon Sep 17 00:00:00 2001 From: Robert Sachunsky Date: Tue, 1 Oct 2024 21:44:24 +0200 Subject: [PATCH] CD: publish to ocrd/detectron2 instead of bertsky/ocrd_detectron2 --- .github/workflows/docker-image.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index ebc8e0f..afe92a4 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -3,10 +3,10 @@ name: Docker Image CI on: push: branches: [ "master" ] - workflow_dispatch: # run manually + workflow_dispatch: env: - DOCKER_TAGNAME: bertsky/ocrd_detectron2 + DOCKER_TAGNAME: ocrd/detectron2 jobs: @@ -32,7 +32,7 @@ jobs: - name: Push image to Dockerhub run: docker push ${{ env.DOCKER_TAGNAME }} - name: Alias the Docker image for GHCR - run: docker tag ${{ env.DOCKER_TAGNAME }} ghcr.io/${{ env.DOCKER_TAGNAME }} + run: docker tag ${{ env.DOCKER_TAGNAME }} ghcr.io/bertsky/ocrd_detectron2 - name: Login to GitHub Container Registry uses: docker/login-action@v2 with: @@ -40,4 +40,4 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Push image to Github Container Registry - run: docker push ghcr.io/${{ env.DOCKER_TAGNAME }} + run: docker push ghcr.io/bertsky/ocrd_detectron2