Skip to content

Add Docker Hub readme (#560) #9

Add Docker Hub readme (#560)

Add Docker Hub readme (#560) #9

Workflow file for this run

name: publish
on:
push:
branches:
- "branch-*"
tags:
- v[0-9][0-9].[0-9][0-9].[0-9][0-9]
workflow_dispatch:
concurrency:
group: "${{ github.workflow }} @ ${{ github.ref }}"
cancel-in-progress: true
jobs:
docker:
uses: ./.github/workflows/build-test-publish-images.yml
with:
build_type: branch
secrets: inherit
readme:
runs-on: ubuntu-latest
needs: docker
if: startsWith(github.ref, 'refs/tags/v')
strategy:
matrix:
repo_name:
- rapidsai/base
- rapidsai/notebooks
steps:
- name: checkout code
uses: actions/checkout@v3
- name: Update DockerHub README for ${{ matrix.repo_name }}
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: ${{ matrix.repo_name }}
readme-filepath: dockerhub-readme.md