Skip to content

Readme

Readme #2

name: Update Docker Hub Readme
on:
push:
branches:
- main
jobs:
PushContainerReadme:
runs-on: ubuntu-latest
strategy:
matrix:
component:
- prism
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Sync Readme
uses: lablans/sync-dockerhub-readme@feature/replace-patterns
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD_REQUIRED_FOR_README_SYNC }}
repository: ${{ github.repository }}
readme: "./README.md"
replace_pattern: "](./"
replace_with: "](${{ github.server_url }}/${{ github.repository }}/raw/${{ github.ref_name }}/"