From 293a765c7e3ee313f65ef5ed1f785a6ace950885 Mon Sep 17 00:00:00 2001 From: Erik Sundell Date: Thu, 23 Nov 2023 23:28:48 +0100 Subject: [PATCH] Publish to Docker Hub alongside Quay.io --- .github/workflows/publish.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 84ffb280..a069e566 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -69,6 +69,7 @@ jobs: if: startsWith(github.ref, 'refs/tags/') run: | docker login -u "${{ secrets.QUAY_USERNAME }}" -p "${{ secrets.QUAY_PASSWORD }}" quay.io + docker login -u "${{ secrets.DOCKERHUB_USERNAME }}" -p "${{ secrets.DOCKERHUB_TOKEN }}" docker.io # https://github.com/jupyterhub/action-major-minor-tag-calculator # If this is a tagged build this will return additional parent tags. @@ -82,7 +83,9 @@ jobs: uses: jupyterhub/action-major-minor-tag-calculator@v3 with: githubToken: ${{ secrets.GITHUB_TOKEN }} - prefix: "quay.io/jupyterhub/configurable-http-proxy:" + prefix: >- + quay.io/jupyterhub/configurable-http-proxy: + jupyterhub/configurable-http-proxy: defaultTag: quay.io/jupyterhub/configurable-http-proxy:noref - name: Display tags