mirror of https://github.com/nicolargo/glances
The Docker hub repository nicolargo/glances is now a organization. Use a token instead of password to publish Glances images.
parent
bce94a8a7a
commit
1697eca9bd
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue