Skip to content

Merge pull request #4 from samply/ci #1

Merge pull request #4 from samply/ci

Merge pull request #4 from samply/ci #1

name: Update Docker Hub Readme
on:
push:
branches:
- main
jobs:
PushContainerReadme:
runs-on: ubuntu-latest
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: "](https://raw.githubusercontent.com/${{ github.repository }}/${{ github.ref_name }}/"