Added github actions automagic docker containers build workflow (#1) #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update Dockerhub Description | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- README.md | |
- .github/workflows/dockerhub-description.yml | |
jobs: | |
update-docker-hub-description: | |
runs-on: ubuntu-latest | |
steps: | |
# checkout the repo to $GITHUB_WORKSPACE | |
- uses: actions/checkout@v3 | |
# update the docker hub description and overview | |
- name: Dockerhub description and overview update | |
uses: peter-evans/dockerhub-description@v3 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_PASSWORD }} | |
repository: hetorusnl/vocya-api | |
short-description: ${{ github.event.repository.description }} | |
# update the docker hub description and overview | |
- name: Dockerhub description and overview update | |
uses: peter-evans/dockerhub-description@v3 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_PASSWORD }} | |
repository: hetorusnl/vocya-dashboard | |
short-description: ${{ github.event.repository.description }} |