name: Publish Docker Hub on: push: tags: [ '*.*.*.*' ] pull_request: branches: [ master ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Publish to Docker Hub Registry uses: elgohr/Publish-Docker-Github-Action@v4 with: name: parrazam/radicale-docker username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} tag_names: true update-readme: runs-on: ubuntu-latest steps: - uses: actions/checkout@master - uses: peter-evans/dockerhub-description@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }}