Merge pull request #567 from rapidsai/branch-23.08 #13
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: 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 |