Skip to content

Commit 9c5d3ad

Browse files
Bot Updating Templated Files
1 parent 00bfd1c commit 9c5d3ad

File tree

2 files changed

+16
-12
lines changed

2 files changed

+16
-12
lines changed

.github/workflows/external_trigger.yml

Lines changed: 12 additions & 10 deletions
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%2Ffleet%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}")

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ Navigate to `http://your_ip_here:8080` to display the home page. If `DATABASE` i
6262
initial user via `http://your_ip_here:8080/setup`. Once done, that page will no longer be available. A restart is preferable as it will remove the page altogether.
6363
Once complete, you can log into the app via `http://your_ip_here:8080/login` to manage your repositories.
6464

65-
6665
## Read-Only Operation
6766

6867
This image can be run with a read-only container filesystem. For details please [read the docs](https://docs.linuxserver.io/misc/read-only/).
@@ -71,6 +70,9 @@ This image can be run with a read-only container filesystem. For details please
7170

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

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

7678
```yaml
@@ -120,7 +122,7 @@ Containers are configured using parameters passed at runtime (such as those abov
120122

121123
| Parameter | Function |
122124
| :----: | --- |
123-
| `-p 8080` | Http port |
125+
| `-p 8080:8080` | Http port |
124126
| `-e PUID=1000` | for UserID - see below for explanation |
125127
| `-e PGID=1000` | for GroupID - see below for explanation |
126128
| `-e TZ=Etc/UTC` | specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). |

0 commit comments

Comments
 (0)