-
Notifications
You must be signed in to change notification settings - Fork 44
36 lines (35 loc) · 977 Bytes
/
docker_readme.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Update Readme
# Update the readme file for docker images when the description changes and is merged into main.
on:
push:
branches:
- main
paths:
- '**.md'
- .github/workflows/docker_readme.yml
workflow_dispatch:
jobs:
readme:
runs-on: ubuntu-latest
name: Push README to Docker Hub
strategy:
fail-fast: false
matrix:
docker_repo:
- ros
- ros2
- gazebo
- ignition
- gz
steps:
- name: git checkout
uses: actions/checkout@v4
- name: Update repo description
uses: peter-evans/dockerhub-description@v4
with:
username: althack
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: althack/${{ matrix.docker_repo }}
readme-filepath: ${{ matrix.docker_repo }}/README.md
short-description: |
An assortment of development containers for ${{ matrix.docker_repo }}