The Docker hub repository nicolargo/glances is now a organization. Use a token instead of password to publish Glances images.

This commit is contained in:
nicolargo 2022-10-22 09:29:19 +02:00
parent bce94a8a7a
commit 1697eca9bd

View File

@ -129,11 +129,11 @@ jobs:
version: latest version: latest
- name: Login to DockerHub - name: Login to DockerHub
uses: docker/login-action@v1 uses: docker/login-action@v2
if: ${{ env.PUSH_BRANCH == 'true' }} if: ${{ env.PUSH_BRANCH == 'true' }}
with: with:
username: ${{ secrets.DOCKER_USERNAME }} username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }} password: ${{ secrets.DOCKER_TOKEN }}
- name: Build and push image - name: Build and push image
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2