Skip to content

Commit e01e982

Browse files
authored
Merge pull request #514 from consideRatio/pr/publish-alongside-dockerhub
Publish to Docker Hub alongside Quay.io
2 parents d461ea7 + 293a765 commit e01e982

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/publish.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ jobs:
6969
if: startsWith(github.ref, 'refs/tags/')
7070
run: |
7171
docker login -u "${{ secrets.QUAY_USERNAME }}" -p "${{ secrets.QUAY_PASSWORD }}" quay.io
72+
docker login -u "${{ secrets.DOCKERHUB_USERNAME }}" -p "${{ secrets.DOCKERHUB_TOKEN }}" docker.io
7273
7374
# https://github.com/jupyterhub/action-major-minor-tag-calculator
7475
# If this is a tagged build this will return additional parent tags.
@@ -82,7 +83,9 @@ jobs:
8283
uses: jupyterhub/action-major-minor-tag-calculator@v3
8384
with:
8485
githubToken: ${{ secrets.GITHUB_TOKEN }}
85-
prefix: "quay.io/jupyterhub/configurable-http-proxy:"
86+
prefix: >-
87+
quay.io/jupyterhub/configurable-http-proxy:
88+
jupyterhub/configurable-http-proxy:
8689
defaultTag: quay.io/jupyterhub/configurable-http-proxy:noref
8790

8891
- name: Display tags

0 commit comments

Comments
 (0)