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

Commit ec12eb6

Browse files
Bot Updating Templated Files
1 parent ef36ff5 commit ec12eb6

2 files changed

Lines changed: 17 additions & 13 deletions

File tree

.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%2Femulatorjs%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: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,11 +126,13 @@ The folder names for systems are:
126126

127127
**For Xbox users please click the select button a couple times after launching a game to ensure the B button does not trigger a "back" action in the browser. (official name "view button" it is the two small squares) Exiting the controller mode and back to browser controls can be triggered by holding the start button for 3 seconds. (official name "menu button" the three lines)**
128128

129-
130129
## Usage
131130

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

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

136138
```yaml
@@ -178,8 +180,8 @@ Containers are configured using parameters passed at runtime (such as those abov
178180

179181
| Parameter | Function |
180182
| :----: | --- |
181-
| `-p 3000` | Rom/artwork management interface, used to generate/manage config files and download artwork |
182-
| `-p 80` | Emulation frontend containing static web files used to browse and launch games |
183+
| `-p 3000:3000` | Rom/artwork management interface, used to generate/manage config files and download artwork |
184+
| `-p 80:80` | Emulation frontend containing static web files used to browse and launch games |
183185
| `-p 4001` | IPFS peering port, if you want to participate in the P2P network to distribute frontend artwork please forward this to the Internet |
184186
| `-e PUID=1000` | for UserID - see below for explanation |
185187
| `-e PGID=1000` | for GroupID - see below for explanation |

0 commit comments

Comments
 (0)