mirror of
https://github.com/linuxserver/docker-piper.git
synced 2026-02-19 16:14:35 +08:00
Not multi-arch
This commit is contained in:
parent
69d3d769e8
commit
220a224ee6
7
.github/workflows/external_trigger.yml
vendored
7
.github/workflows/external_trigger.yml
vendored
@ -43,15 +43,10 @@ jobs:
|
||||
token=$(curl -sX GET \
|
||||
"https://ghcr.io/token?scope=repository%3Alinuxserver%2Fpiper%3Apull" \
|
||||
| jq -r '.token')
|
||||
multidigest=$(curl -s \
|
||||
--header "Accept: application/vnd.docker.distribution.manifest.v2+json" \
|
||||
--header "Authorization: Bearer ${token}" \
|
||||
"https://ghcr.io/v2/${image}/manifests/${tag}" \
|
||||
| jq -r 'first(.manifests[].digest)')
|
||||
digest=$(curl -s \
|
||||
--header "Accept: application/vnd.docker.distribution.manifest.v2+json" \
|
||||
--header "Authorization: Bearer ${token}" \
|
||||
"https://ghcr.io/v2/${image}/manifests/${multidigest}" \
|
||||
"https://ghcr.io/v2/${image}/manifests/${tag}" \
|
||||
| jq -r '.config.digest')
|
||||
image_info=$(curl -sL \
|
||||
--header "Authorization: Bearer ${token}" \
|
||||
|
||||
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -28,7 +28,7 @@ pipeline {
|
||||
DEV_DOCKERHUB_IMAGE = 'lsiodev/piper'
|
||||
PR_DOCKERHUB_IMAGE = 'lspipepr/piper'
|
||||
DIST_IMAGE = 'ubuntu'
|
||||
MULTIARCH='true'
|
||||
MULTIARCH='false'
|
||||
CI='false'
|
||||
CI_WEB='false'
|
||||
CI_DELAY='120'
|
||||
|
||||
@ -16,7 +16,7 @@ repo_vars:
|
||||
- DEV_DOCKERHUB_IMAGE = 'lsiodev/piper'
|
||||
- PR_DOCKERHUB_IMAGE = 'lspipepr/piper'
|
||||
- DIST_IMAGE = 'ubuntu'
|
||||
- MULTIARCH='true'
|
||||
- MULTIARCH='false'
|
||||
- CI='false'
|
||||
- CI_WEB='false'
|
||||
- CI_DELAY='120'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user