From 354185e8dda84f501e352c3d66f9f8f2a9c8126f Mon Sep 17 00:00:00 2001 From: Faustin Lammler Date: Tue, 19 Jul 2022 11:53:56 +0200 Subject: [PATCH] Update description is now working with token See: https://github.com/peter-evans/dockerhub-description/issues/10 --- .github/workflows/build.yml | 6 +++--- .pre-commit-config.yaml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dab0879..47751f2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -101,7 +101,7 @@ jobs: run: | missing=() [[ -n "${{ secrets.DOCKER_USER }}" ]] || missing+=(DOCKER_USER) - [[ -n "${{ secrets.DOCKER_PASSWORD }}" ]] || missing+=(DOCKER_PASSWORD) + [[ -n "${{ secrets.DOCKER_TOKEN }}" ]] || missing+=(DOCKER_TOKEN) for i in "${missing[@]}"; do echo "Missing github secret: $i" done @@ -112,7 +112,7 @@ jobs: uses: docker/login-action@v2 with: username: ${{ secrets.DOCKER_USER }} - password: ${{ secrets.DOCKER_PASSWORD }} + password: ${{ secrets.DOCKER_TOKEN }} - name: Push images to DockerHub if: ${{ env.DOCKER_DEPLOY_IMAGES == 'true' }} run: | @@ -127,6 +127,6 @@ jobs: uses: peter-evans/dockerhub-description@v3 with: username: ${{ secrets.DOCKER_USER }} - password: ${{ secrets.DOCKER_PASSWORD }} + password: ${{ secrets.DOCKER_TOKEN }} repository: ${{ secrets.DOCKER_USER }}/${{ env.REPO }} readme-filepath: README.md diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8ac7d06..a9970d2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,7 +11,7 @@ repos: name: Check trailing whitespace args: [--markdown-linebreak-ext=md] - repo: https://github.com/adrienverge/yamllint.git - rev: v1.26.3 + rev: v1.27.1 hooks: - id: yamllint name: Check yaml files (yamllint)