Skip to content

Commit ba30143

Browse files
Bot Updating Templated Files
1 parent f08acba commit ba30143

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

Jenkinsfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,15 @@ pipeline {
200200
else
201201
echo "false" > /tmp/${COMMIT_SHA}-${BUILD_NUMBER}
202202
fi
203+
mkdir -p ${TEMPDIR}/gitbook
204+
git clone https://github.com/linuxserver/docker-documentation.git ${TEMPDIR}/gitbook/docker-documentation
205+
if [ ! -f ${TEMPDIR}/gitbook/docker-documentation/images/docker-${CONTAINER_NAME}.md ] || [ "$(md5sum ${TEMPDIR}/gitbook/docker-documentation/images/docker-${CONTAINER_NAME}.md | awk '{ print $1 }')" != "$(md5sum ${TEMPDIR}/${CONTAINER_NAME}/docker-${CONTAINER_NAME}.md | awk '{ print $1 }')" ]; then
206+
cp ${TEMPDIR}/${CONTAINER_NAME}/docker-${CONTAINER_NAME}.md ${TEMPDIR}/gitbook/docker-documentation/images/
207+
cd ${TEMPDIR}/gitbook/docker-documentation/
208+
git add images/docker-${CONTAINER_NAME}.md
209+
git commit -m 'Bot Updating Templated Files'
210+
git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/linuxserver/docker-documentation.git --all
211+
fi
203212
rm -Rf ${TEMPDIR}'''
204213
script{
205214
env.FILES_UPDATED = sh(

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ TLDR: Multi-arch support is changing from multiple repos to one repo per contain
2626
[![](https://images.microbadger.com/badges/image/linuxserver/ldap-auth.svg)](https://microbadger.com/images/linuxserver/ldap-auth "Get your own version badge on microbadger.com")
2727
![Docker Pulls](https://img.shields.io/docker/pulls/linuxserver/ldap-auth.svg)
2828
![Docker Stars](https://img.shields.io/docker/stars/linuxserver/ldap-auth.svg)
29+
[![Build Status](https://ci.linuxserver.io/buildStatus/icon?job=Docker-Pipeline-Builders/docker-ldap-auth/master)](https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-ldap-auth/job/master/)
30+
[![](https://lsio-ci.ams3.digitaloceanspaces.com/linuxserver/ldap-auth/latest/badge.svg)](https://lsio-ci.ams3.digitaloceanspaces.com/linuxserver/ldap-auth/latest/index.html)
2931

3032
[Ldap-auth](https://github.com/nginxinc/nginx-ldap-auth) software is for authenticating users who request protected resources from servers proxied by nginx. It includes a daemon (ldap-auth) that communicates with an authentication server, and a webserver daemon that generates an authentication cookie based on the user’s credentials. The daemons are written in Python for use with a Lightweight Directory Access Protocol (LDAP) authentication server (OpenLDAP or Microsoft Windows Active Directory 2003 and 2012).
3133

@@ -35,6 +37,8 @@ TLDR: Multi-arch support is changing from multiple repos to one repo per contain
3537

3638
Our images support multiple architectures such as `x86-64`, `arm64` and `armhf`. We utilise the docker manifest for multi-platform awareness. More information is available from docker [here](https://github.com/docker/distribution/blob/master/docs/spec/manifest-v2-2.md#manifest-list).
3739

40+
Simply pulling `linuxserver/ldap-auth` should retrieve the correct image for your arch, but you can also pull specific arch images via tags.
41+
3842
The architectures supported by this image are:
3943

4044
| Architecture | Tag |
@@ -43,6 +47,7 @@ The architectures supported by this image are:
4347
| arm64 | arm64v8-latest |
4448
| armhf | arm32v6-latest |
4549

50+
4651
## Usage
4752

4853
Here are some example snippets to help you get started creating a container.

0 commit comments

Comments
 (0)