From 1d41c1d440bdf6b415d466d67154889fa5f33785 Mon Sep 17 00:00:00 2001 From: Bubka <858858+Bubka@users.noreply.github.com> Date: Fri, 27 Sep 2024 00:17:27 +0200 Subject: [PATCH] Fix dockerhub login in github actions --- .github/workflows/ci-docker-publish-dev.yml | 4 ++-- .github/workflows/ci-docker-publish-release.yml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci-docker-publish-dev.yml b/.github/workflows/ci-docker-publish-dev.yml index 60642a2c..185ae4da 100644 --- a/.github/workflows/ci-docker-publish-dev.yml +++ b/.github/workflows/ci-docker-publish-dev.yml @@ -62,8 +62,8 @@ jobs: - uses: docker/login-action@v3 with: - username: 2fauth - password: ${{ secrets.DOCKERHUB_PASSWORD }} + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Set variables id: set_vars diff --git a/.github/workflows/ci-docker-publish-release.yml b/.github/workflows/ci-docker-publish-release.yml index f0100e52..11498862 100644 --- a/.github/workflows/ci-docker-publish-release.yml +++ b/.github/workflows/ci-docker-publish-release.yml @@ -16,8 +16,8 @@ jobs: - uses: docker/login-action@v3 with: - username: 2fauth - password: ${{ secrets.DOCKERHUB_PASSWORD }} + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Set tags uses: actions/github-script@v6 @@ -43,8 +43,8 @@ jobs: - name: Update Docker Hub Description uses: peter-evans/dockerhub-description@v3 with: - username: 2fauth - password: ${{ secrets.DOCKERHUB_PASSWORD }} + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} repository: 2fauth/2fauth short-description: A web app to manage your Two-Factor Authentication (2FA) accounts and generate their security codes readme-filepath: docker/README.md