From d1771deab79f5091467a901d4d8827b40d758e2c Mon Sep 17 00:00:00 2001 From: Ernst Noorlander Date: Sat, 13 Apr 2024 15:35:57 +0200 Subject: [PATCH] Another try for a description --- .github/workflows/docker-deploy.yml | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/.github/workflows/docker-deploy.yml b/.github/workflows/docker-deploy.yml index 826587f..bb84ca0 100644 --- a/.github/workflows/docker-deploy.yml +++ b/.github/workflows/docker-deploy.yml @@ -23,21 +23,11 @@ jobs: tags: ictu/zap2docker-weekly:latest secrets: | "github_token=${{ secrets.DOCKERHUB_TOKEN }}" + - uses: actions/checkout@v4 - - PushContainerReadme: - runs-on: ubuntu-latest - name: Push README to Docker Hub - steps: - - name: git checkout - uses: actions/checkout@v2 - - name: push README to Dockerhub - uses: christian-korneck/update-container-description-action@v1 - env: - DOCKER_USER: ${{ secrets.DOCKERHUB_USERNAME }} - DOCKER_PASS: ${{ secrets.DOCKERHUB_PASSWORD }} + - name: Docker Hub Description + uses: peter-evans/dockerhub-description@v4 with: - destination_container_repo: ictu/zap2docker-weekly:latest - provider: dockerhub - short_description: 'my short description 😊' - readme_file: 'README.md' + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_PASSWORD }} + repository: ictu/zap2docker-weekly:latest