diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 6a87706..51ad256 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -55,11 +55,17 @@ jobs: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} + - name: Login to hub.docker.com + uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Extract metadata (tags, labels) for Docker id: meta uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5.7.0 with: images: | + ${{ github.repository }} ghcr.io/${{ github.repository }} registry.etke.cc/${{ github.repository }} tags: | diff --git a/README.md b/README.md index f4a1a0a..658d773 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ The full list is described below in the [Changes](#changes) section. * As a core/default component on [etke.cc](https://etke.cc/?utm_source=github&utm_medium=readme&utm_campaign=synapse-admin) * As a standalone app on [admin.etke.cc](https://admin.etke.cc) * As a prebuilt distribution on [GitHub Releases](https://github.com/etkecc/synapse-admin/releases) -* As a Docker container on [GitHub Container Registry](https://github.com/etkecc/synapse-admin/pkgs/container/synapse-admin) +* As a Docker container on [Docker Hub](https://hub.docker.com/r/etkecc/synapse-admin) and [GitHub Container Registry](https://github.com/etkecc/synapse-admin/pkgs/container/synapse-admin) * As a component in [Matrix-Docker-Ansible-Deploy Playbook](https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/docs/configuring-playbook-synapse-admin.md) ### Changes