Skip to content

Merge pull request #17 from samply/license #4

Merge pull request #17 from samply/license

Merge pull request #17 from samply/license #4

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