Skip to content
This repository was archived by the owner on Jul 5, 2025. It is now read-only.

Commit c100728

Browse files
Bot Updating Templated Files
1 parent 5dfa1d5 commit c100728

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%2Fnetbootxyz%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
@@ -164,11 +164,13 @@ Anything else from a router standpoint is a crapshoot for supporting Dnsmasq opt
164164

165165
This image also contains `netboot.xyz.efi` which can be used to boot using UEFI network boot. The UEFI boot and menu will have limited functionality if you choose to use it.
166166

167-
168167
## Usage
169168

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

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

174176
```yaml
@@ -198,7 +200,7 @@ Containers are configured using parameters passed at runtime (such as those abov
198200

199201
| Parameter | Function |
200202
| :----: | --- |
201-
| `-p 69/udp` | TFTP Port. |
203+
| `-p 69:69/udp` | TFTP Port. |
202204

203205
## Environment variables from files (Docker secrets)
204206

0 commit comments

Comments
 (0)