This repository was archived by the owner on Mar 11, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathreadme-vars.yml
92 lines (67 loc) · 3.91 KB
/
readme-vars.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
---
# project information
project_name: readme-sync
project_deprecation_status: true
full_custom_readme: |
{% raw -%}
[linuxserverurl]: https://linuxserver.io
[forumurl]: https://forum.linuxserver.io
[ircurl]: https://www.linuxserver.io/irc/
[podcasturl]: https://www.linuxserver.io/podcast/
[appurl]: www.example.com
[hub]: https://hub.docker.com/r/lsiodev/readme-sync/
[][linuxserverurl]
## Contact information:-
| Type | Address/Details |
| :---: | --- |
| Discord | [Discord](https://discord.gg/YWrKVTn) |
| Forum | [Linuserver.io forum][forumurl] |
| IRC | freenode at `#linuxserver.io` more information at:- [IRC][ircurl]
| Podcast | Covers everything to do with getting the most from your Linux Server plus a focus on all things Docker and containerisation! [Linuxserver.io Podcast][podcasturl] |
The [LinuxServer.io][linuxserverurl] team brings you another image release featuring :-
+ regular and timely application updates
+ easy user mappings
+ custom base image with s6 overlay
+ weekly base OS updates with common layers across the entire LinuxServer.io ecosystem to minimise space usage, down time and bandwidth
+ security updates
# lsiodev/readme-sync
[](https://microbadger.com/images/lsiodev/readme-sync "Get your own version badge on microbadger.com")[](https://microbadger.com/images/lsiodev/readme-sync "Get your own image badge on microbadger.com")[][hub][][hub][](https://ci.linuxserver.io/job/Docker-Builders/job/lsiodev/job/readme-sync-docker/)
Utility to copy README.md from a given github.com repository to a given dockerhub.com repository.
## Usage
```
docker run --rm=true \
-e DOCKERHUB_USERNAME=<USERNAME> \
-e DOCKERHUB_PASSWORD=<PASSWORD> \
-e GIT_REPOSITORY=<GITHUB REPO> \
-e DOCKER_REPOSITORY=<DOCKERHUB REPO> \
-e GIT_BRANCH=<GITHUB BRANCH> \
lsiodev/readme-sync bash -c 'node sync'
```
## Parameters
The parameters are split into two halves, separated by a colon, the left hand side representing the host and the right the container side.
For example with a port -p external:internal - what this shows is the port mapping from internal to external of the container.
So -p 8080:80 would expose port 80 from inside the container to be accessible from the host's IP on port 8080
http://192.168.x.x:8080 would show you what's running INSIDE the container on port 80.
| Parameter | Function |
| :---: | --- |
| `-e DOCKERHUB_USERNAME` | your dockerhub username |
| `-e DOCKERHUB_PASSWORD` | your dockerhub password |
| `-e GIT_REPOSITORY` | github repository, i.e. linuxserver/docker-readme-sync |
| `-e DOCKER_REPOSITORY` | dockerhub repository, i.e. lsiodev/docker-readme-sync |
| `-e GIT_BRANCH` | github repository branch, optional (default: master) |
It is based on alpine and is not meant to run as a service. The sync is performed and the command exits.
## Versions
| Date | Changes |
| :---: | --- |
| 13.01.21 | Use ghcr baseimages. Fall back to `external` folder for readme lite. |
| 28.07.20 | Rebase to alpine 3.12. |
| 20.08.18 | Rebase to alpine 3.8. |
| 28.02.18 | convert repo to use node.js implementation. |
| 17.11.17 | add github branch support. |
| 16.10.16 | merge ruby app. |
| 11.10.16 | Initial development release. |
{%- endraw %}