Use new repo key in apt container

This commit is contained in:
2026-02-03 22:08:47 -05:00
parent d7d5af3a0b
commit d69d33d51d

View File

@@ -1792,7 +1792,7 @@ main() {
EOF EOF
;; ;;
debian|ubuntu) debian|ubuntu)
local keyurl="http://dist.jriver.com/mediacenter@jriver.com.gpg.complete" local keyurl="https://dist.jriver.com/mediacenter@jriver.com.gpg.complete"
local keyfile="/usr/share/keyrings/jriver-com-archive-keyring-complete.gpg" local keyfile="/usr/share/keyrings/jriver-com-archive-keyring-complete.gpg"
local channel="latest" local channel="latest"
[[ -n $BETAPASS ]] && channel="beta" [[ -n $BETAPASS ]] && channel="beta"
@@ -1995,7 +1995,7 @@ create_mc_apt_container() {
CNT=$(buildah from --quiet alpine:edge) && CNT=$(buildah from --quiet alpine:edge) &&
buildah run --env MC_REPO="$repo" --env MC_ARCH="$MC_ARCH" --env CHANNEL="$channel" "$CNT" -- sh -c ' buildah run --env MC_REPO="$repo" --env MC_ARCH="$MC_ARCH" --env CHANNEL="$channel" "$CNT" -- sh -c '
apk add --quiet --no-progress --no-cache apt curl gnupg apk add --quiet --no-progress --no-cache apt curl gnupg
curl -fsSL https://dist.jriver.com/mediacenter@jriver.com.gpg.key | gpg --quiet --dearmor -o /usr/share/keyrings/jriver-com-archive-keyring.gpg curl -fsSL https://dist.jriver.com/mediacenter@jriver.com.gpg.complete | gpg --quiet --dearmor -o /usr/share/keyrings/jriver-com-archive-keyring.gpg
cat <<-EOF > /etc/apt/sources.list.d/jriver.sources cat <<-EOF > /etc/apt/sources.list.d/jriver.sources
Types: deb Types: deb
URIs: https://dist.jriver.com/$CHANNEL/mediacenter/ URIs: https://dist.jriver.com/$CHANNEL/mediacenter/