Skip to content
This repository was archived by the owner on Jun 24, 2022. It is now read-only.

Commit 242cb8d

Browse files
Bot Updating Templated Files
1 parent 41181c6 commit 242cb8d

File tree

2 files changed

+15
-5
lines changed

2 files changed

+15
-5
lines changed

Jenkinsfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ pipeline {
627627
docker manifest push --purge ${MANIFESTIMAGE}:latest
628628
docker manifest push --purge ${MANIFESTIMAGE}:${META_TAG}
629629
done
630-
for LEGACYIMAGE in "${QUAYIMAGE}" "${GITHUBIMAGE}"; do
630+
for LEGACYIMAGE in "${GITHUBIMAGE}" "${QUAYIMAGE}"; do
631631
docker tag ${IMAGE}:amd64-${META_TAG} ${LEGACYIMAGE}:amd64-${META_TAG}
632632
docker tag ${IMAGE}:arm32v7-${META_TAG} ${LEGACYIMAGE}:arm32v7-${META_TAG}
633633
docker tag ${IMAGE}:arm64v8-${META_TAG} ${LEGACYIMAGE}:arm64v8-${META_TAG}
@@ -741,12 +741,12 @@ pipeline {
741741
sh 'echo "build aborted"'
742742
}
743743
else if (currentBuild.currentResult == "SUCCESS"){
744-
sh ''' curl -X POST --data '{"avatar_url": "https://wiki.jenkins-ci.org/download/attachments/2916393/headshot.png","embeds": [{"color": 1681177,\
744+
sh ''' curl -X POST -H "Content-Type: application/json" --data '{"avatar_url": "https://wiki.jenkins-ci.org/download/attachments/2916393/headshot.png","embeds": [{"color": 1681177,\
745745
"description": "**Build:** '${BUILD_NUMBER}'\\n**CI Results:** '${CI_URL}'\\n**ShellCheck Results:** '${SHELLCHECK_URL}'\\n**Status:** Success\\n**Job:** '${RUN_DISPLAY_URL}'\\n**Change:** '${CODE_URL}'\\n**External Release:**: '${RELEASE_LINK}'\\n**DockerHub:** '${DOCKERHUB_LINK}'\\n"}],\
746746
"username": "Jenkins"}' ${BUILDS_DISCORD} '''
747747
}
748748
else {
749-
sh ''' curl -X POST --data '{"avatar_url": "https://wiki.jenkins-ci.org/download/attachments/2916393/headshot.png","embeds": [{"color": 16711680,\
749+
sh ''' curl -X POST -H "Content-Type: application/json" --data '{"avatar_url": "https://wiki.jenkins-ci.org/download/attachments/2916393/headshot.png","embeds": [{"color": 16711680,\
750750
"description": "**Build:** '${BUILD_NUMBER}'\\n**CI Results:** '${CI_URL}'\\n**ShellCheck Results:** '${SHELLCHECK_URL}'\\n**Status:** failure\\n**Job:** '${RUN_DISPLAY_URL}'\\n**Change:** '${CODE_URL}'\\n**External Release:**: '${RELEASE_LINK}'\\n**DockerHub:** '${DOCKERHUB_LINK}'\\n"}],\
751751
"username": "Jenkins"}' ${BUILDS_DISCORD} '''
752752
}

README.md

+12-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
[![Discourse](https://img.shields.io/discourse/https/discourse.linuxserver.io/topics.svg?style=flat-square&color=E68523&logo=discourse&logoColor=FFFFFF)](https://discourse.linuxserver.io "post on our community forum.")
66
[![Fleet](https://img.shields.io/static/v1.svg?style=flat-square&color=E68523&label=linuxserver.io&message=Fleet)](https://fleet.linuxserver.io "an online web interface which displays all of our maintained images.")
77
[![GitHub](https://img.shields.io/static/v1.svg?style=flat-square&color=E68523&label=linuxserver.io&message=GitHub&logo=github&logoColor=FFFFFF)](https://github.com/linuxserver "view the source for all of our repositories.")
8-
[![Podcast](https://img.shields.io/static/v1.svg?style=flat-square&color=E68523&label=linuxserver.io&message=Podcast)](https://anchor.fm/linuxserverio "on hiatus. Coming back soon (late 2018).")
98
[![Open Collective](https://img.shields.io/opencollective/all/linuxserver.svg?style=flat-square&color=E68523&label=Supporters&logo=open%20collective&logoColor=FFFFFF)](https://opencollective.com/linuxserver "please consider helping us by either donating or contributing to our budget")
109

1110
The [LinuxServer.io](https://linuxserver.io) team brings you another container release featuring :-
@@ -22,7 +21,6 @@ Find us at:
2221
* [Discourse](https://discourse.linuxserver.io) - post on our community forum.
2322
* [Fleet](https://fleet.linuxserver.io) - an online web interface which displays all of our maintained images.
2423
* [GitHub](https://github.com/linuxserver) - view the source for all of our repositories.
25-
* [Podcast](https://anchor.fm/linuxserverio) - on hiatus. Coming back soon (late 2018).
2624
* [Open Collective](https://opencollective.com/linuxserver) - please consider helping us by either donating or contributing to our budget
2725

2826
# [linuxserver/kanzi](https://github.com/linuxserver/docker-kanzi)
@@ -116,6 +114,18 @@ Container images are configured using parameters passed at runtime (such as thos
116114
| `-e URL_ENDPOINT=https://server.com/kanzi/` | Specify the URL at which the webserver is reachable either `https://kanzi.server.com/` or `https://server.com/kanzi/` Note the trailing slash **MUST** be included. |
117115
| `-v /config` | Configuration files. |
118116

117+
## Environment variables from files (Docker secrets)
118+
119+
You can set any environment variable from a file by using a special prepend `FILE__`.
120+
121+
As an example:
122+
123+
```
124+
-e FILE__PASSWORD=/run/secrets/mysecretpassword
125+
```
126+
127+
Will set the environment variable `PASSWORD` based on the contents of the `/run/secrets/mysecretpassword` file.
128+
119129
## User / Group Identifiers
120130

121131
When using volumes (`-v` flags) permissions issues can arise between the host OS and the container, we avoid this issue by allowing you to specify the user `PUID` and group `PGID`.

0 commit comments

Comments
 (0)