Skip to content

Commit

Permalink
ci: 🏗️ switch to peter-evans/dockerhub-description action
Browse files Browse the repository at this point in the history
  • Loading branch information
alchatti committed Jan 10, 2024
1 parent 1175610 commit dd5a371
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions .github/workflows/update-container-description.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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"

0 comments on commit dd5a371

Please sign in to comment.