diff options
author | nicolargo <nicolas@nicolargo.com> | 2022-10-22 09:29:19 +0200 |
---|---|---|
committer | nicolargo <nicolas@nicolargo.com> | 2022-10-22 09:29:19 +0200 |
commit | 1697eca9bd3d22767a43864ef84fc624b2e45c9f (patch) | |
tree | d6a3cb5695b1cec747ef9edfadb16575de59383a /.github | |
parent | bce94a8a7a6b97485d2e6644464b2267dca2bf0d (diff) |
The Docker hub repository nicolargo/glances is now a organization. Use a token instead of password to publish Glances images.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build.yml | 4 |
1 files 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 |