[github-actions] push README.md to Dockerhub (#7194)

This commit is contained in:
Jonathan Hui
2021-11-23 12:51:12 -08:00
committed by GitHub
parent cf4b71d8b9
commit 3b438fd18f
+11
View File
@@ -95,3 +95,14 @@ jobs:
if: always() && github.repository == 'openthread/openthread' && github.event_name != 'pull_request'
run: |
docker buildx imagetools inspect ${{ steps.prepare.outputs.docker_image }}:${{ steps.prepare.outputs.version }}
- name: Push README
uses: christian-korneck/update-container-description-action@v1
if: success() && github.repository == 'openthread/openthread' && github.event_name != 'pull_request'
env:
DOCKER_USER: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASS: ${{ secrets.DOCKER_PASSWORD }}
with:
destination_container_repo: openthread/${{ matrix.docker_name }}
provider: dockerhub
readme_file: 'README.md'