mirror of
https://github.com/PAPAMICA/docker-compose-collection.git
synced 2026-01-18 16:27:25 +01:00
try update reademe with url
This commit is contained in:
2
.github/workflows/Readme-template.md
vendored
2
.github/workflows/Readme-template.md
vendored
@@ -39,7 +39,7 @@ You can deploye a compatible Docker environment with Portainer and Traefik with:
|
||||
## List of services availables:
|
||||
##NB_A##
|
||||
|
||||
| Status | Service | Update | Maintainer |
|
||||
| Status | Service | Website | Update | Maintainer |
|
||||
##SERVICES##
|
||||
|
||||
## List of services to do:
|
||||
|
||||
6
.github/workflows/generate-template-json.py
vendored
6
.github/workflows/generate-template-json.py
vendored
@@ -7,7 +7,7 @@ import datetime
|
||||
from textwrap import indent
|
||||
|
||||
GITHUB_REPOSITORY_URL = 'https://github.com/PAPAMICA/docker-compose-collection'
|
||||
SERVICES="|:--:|--|--|--|"
|
||||
SERVICES="|:--:|--|--|--|--|"
|
||||
SERVICES_TODO="|:--:|--|"
|
||||
try:
|
||||
os.remove("./templates-portainer.json")
|
||||
@@ -44,8 +44,10 @@ for filename in sorted(glob.glob("composes-files/*.y*ml")):
|
||||
elif data[0] == "note":
|
||||
try:
|
||||
link = re.search("(?<=href=')[^']+(?=')", data[1]).group()
|
||||
website = re.search("(?<=rel='noopener'>)[^']+(?=<)", data[1]).group()
|
||||
except:
|
||||
link=""
|
||||
website=""
|
||||
dataset[data[0]] = data[1]
|
||||
print(link)
|
||||
elif data[0] == "title":
|
||||
@@ -91,7 +93,7 @@ for filename in sorted(glob.glob("composes-files/*.y*ml")):
|
||||
dataset["env"] = env
|
||||
templates.append(dataset)
|
||||
print (f" ✅ {filename} ")
|
||||
SERVICES=SERVICES + f'\n| ✅ | <img src="{logo}" alt="{file_name}" width="20"/> [{file_name}]({link}) | {date} | {maintainer} |'
|
||||
SERVICES=SERVICES + f'\n| ✅ | <img src="{logo}" alt="{file_name}" width="20"/> [{file_name}](https://github.com/PAPAMICA/docker-compose-collection/tree/master/composes-files/{file_name}.yml) | [{website}]{link} | {date} | {maintainer} |'
|
||||
nb_a += 1
|
||||
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user