From 1697eca9bd3d22767a43864ef84fc624b2e45c9f Mon Sep 17 00:00:00 2001 From: nicolargo Date: Sat, 22 Oct 2022 09:29:19 +0200 Subject: [PATCH] The Docker hub repository nicolargo/glances is now a organization. Use a token instead of password to publish Glances images. --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a6e4b27e..9f4172cb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -129,11 +129,11 @@ jobs: version: latest - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v2 if: ${{ env.PUSH_BRANCH == 'true' }} with: username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} + password: ${{ secrets.DOCKER_TOKEN }} - name: Build and push image uses: docker/build-push-action@v2