Skip to content

Commit

Permalink
Fix dockerhub repo name
Browse files Browse the repository at this point in the history
  • Loading branch information
alessandromr committed Nov 26, 2021
1 parent 27474f4 commit 2d04aa8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/public-ecr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ jobs:
if: endsWith(github.ref, '/master')
run: |
docker tag roxprox:latest public.ecr.aws/y9x3p3i6/roxprox:latest
docker tag roxprox:latest ${{ secrets.DOCKERHUB_USERNAME }}/roxprox:latest
docker tag roxprox:latest in4it/roxprox:latest
docker push public.ecr.aws/y9x3p3i6/roxprox:latest
docker push ${{ secrets.DOCKERHUB_USERNAME }}/roxprox:latest
docker push in4it/roxprox:latest
- name: Tag and push specific version
if: startsWith(github.ref, '/refs/tags/*')
run: |
docker tag roxprox:latest public.ecr.aws/y9x3p3i6/roxprox:${GITHUB_REF/refs\/tags\//}
docker tag roxprox:latest ${{ secrets.DOCKERHUB_USERNAME }}/roxprox:${GITHUB_REF/refs\/tags\//}
docker tag roxprox:latest in4it/roxprox:${GITHUB_REF/refs\/tags\//}
docker push public.ecr.aws/y9x3p3i6/roxprox:${GITHUB_REF/refs\/tags\//}
docker push ${{ secrets.DOCKERHUB_USERNAME }}/roxprox:${GITHUB_REF/refs\/tags\//}
docker push in4it/roxprox:${GITHUB_REF/refs\/tags\//}

0 comments on commit 2d04aa8

Please sign in to comment.