Skip to content

Commit

Permalink
CD: fix GHCR image tag
Browse files Browse the repository at this point in the history
  • Loading branch information
bertsky authored Oct 1, 2024
1 parent 51c9e50 commit 82bd491
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ jobs:
- name: Push image to Dockerhub
run: docker push ocrd/im6convert
- name: Alias the Docker image for GHCR
run: docker tag ocrd/im6convert ghcr.io/${{ github.repository }}
run: docker tag ocrd/im6convert ghcr.io/ocr-d/ocrd_im6convert
- 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/${{ github.repository }}
run: docker push ghcr.io/ocr-d/ocrd_im6convert

0 comments on commit 82bd491

Please sign in to comment.