Skip to content

Commit c77c1e4

Browse files
Bot Updating Templated Files
1 parent 4179686 commit c77c1e4

File tree

2 files changed

+16
-12
lines changed

2 files changed

+16
-12
lines changed

Diff for: .github/workflows/external_trigger.yml

+12-10
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,18 @@ jobs:
4343
token=$(curl -sX GET \
4444
"https://ghcr.io/token?scope=repository%3Alinuxserver%2Fdokuwiki%3Apull" \
4545
| jq -r '.token')
46-
multidigest=$(curl -s \
47-
--header "Accept: application/vnd.docker.distribution.manifest.v2+json" \
48-
--header "Authorization: Bearer ${token}" \
49-
"https://ghcr.io/v2/${image}/manifests/${tag}" \
50-
| jq -r 'first(.manifests[].digest)')
51-
digest=$(curl -s \
52-
--header "Accept: application/vnd.docker.distribution.manifest.v2+json" \
53-
--header "Authorization: Bearer ${token}" \
54-
"https://ghcr.io/v2/${image}/manifests/${multidigest}" \
55-
| jq -r '.config.digest')
46+
multidigest=$(curl -s \
47+
--header "Accept: application/vnd.docker.distribution.manifest.v2+json" \
48+
--header "Accept: application/vnd.oci.image.index.v1+json" \
49+
--header "Authorization: Bearer ${token}" \
50+
"https://ghcr.io/v2/${image}/manifests/${tag}")
51+
multidigest=$(jq -r ".manifests[] | select(.platform.architecture == \"amd64\").digest?" <<< "${multidigest}")
52+
digest=$(curl -s \
53+
--header "Accept: application/vnd.docker.distribution.manifest.v2+json" \
54+
--header "Accept: application/vnd.oci.image.manifest.v1+json" \
55+
--header "Authorization: Bearer ${token}" \
56+
"https://ghcr.io/v2/${image}/manifests/${multidigest}" \
57+
| jq -r '.config.digest')
5658
image_info=$(curl -sL \
5759
--header "Authorization: Bearer ${token}" \
5860
"https://ghcr.io/v2/${image}/blobs/${digest}")

Diff for: README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,13 @@ The architectures supported by this image are:
6161

6262
Upon first install go to `http://$IP:$PORT/install.php` once you have completed the setup, restart the container, login as admin and set "Use nice URLs" in the `admin/Configuration Settings` panel to `.htaccess` and tick `Use slash as namespace separator in URLs` to enable [nice URLs](https://www.dokuwiki.org/rewrite) you will find the webui at `http://$IP:$PORT/`, for more info see [Dokuwiki](https://www.dokuwiki.org/dokuwiki/)
6363

64-
6564
## Usage
6665

6766
To help you get started creating a container from this image you can either use docker-compose or the docker cli.
6867

68+
>[!NOTE]
69+
>Unless a parameter is flaged as 'optional', it is *mandatory* and a value must be provided.
70+
6971
### docker-compose (recommended, [click here for more info](https://docs.linuxserver.io/general/docker-compose))
7072

7173
```yaml
@@ -107,7 +109,7 @@ Containers are configured using parameters passed at runtime (such as those abov
107109

108110
| Parameter | Function |
109111
| :----: | --- |
110-
| `-p 80` | Application HTTP Port |
112+
| `-p 80:80` | Application HTTP Port |
111113
| `-p 443` | #optional Application HTTPS Port |
112114
| `-e PUID=1000` | for UserID - see below for explanation |
113115
| `-e PGID=1000` | for GroupID - see below for explanation |

0 commit comments

Comments
 (0)