From dd5a37151b019680a8ef83b6661e24cf9f0c917f Mon Sep 17 00:00:00 2001 From: Majed Al-Chatti Date: Wed, 10 Jan 2024 11:00:02 +0400 Subject: [PATCH] =?UTF-8?q?ci:=20=F0=9F=8F=97=EF=B8=8F=20switch=20to=20`pe?= =?UTF-8?q?ter-evans/dockerhub-description`=20action?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../update-container-description.yml | 21 ++++++++----------- 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/.github/workflows/update-container-description.yml b/.github/workflows/update-container-description.yml index 637b6f0..f788252 100644 --- a/.github/workflows/update-container-description.yml +++ b/.github/workflows/update-container-description.yml @@ -3,9 +3,9 @@ name: Update Container Description on: # Triggers on `README.md` update on `main` push: - branches: [ main ] + branches: [main] paths: - - 'README.md' + - "README.md" # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -17,15 +17,12 @@ jobs: name: Push README to Docker Hub steps: - name: git checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - - 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: push README to Docker Hub Description + uses: peter-evans/dockerhub-description@v3 with: - destination_container_repo: ${{ secrets.DOCKERHUB_USERNAME }}/drupal-devcontainer - provider: dockerhub - short_description: 'Docker dev-container for Drupal development based of Microsoft PHP image' - readme_file: 'README.md' + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + repository: alchatti/drupal-devcontainer + short-description: "Docker dev-container for Drupal development based of Microsoft PHP image"