Skip to content

Commit

Permalink
CD: publish to ocrd/detectron2 instead of bertsky/ocrd_detectron2
Browse files Browse the repository at this point in the history
  • Loading branch information
bertsky committed Oct 1, 2024
1 parent 4c68bd1 commit 4cc461c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand All @@ -32,12 +32,12 @@ 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:
registry: ghcr.io
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

0 comments on commit 4cc461c

Please sign in to comment.