Fix LavinMQ CI toolchain
Build Alpine Packages / build-and-publish (v3.24, 3.24) (push) Failing after 2h27m28s
Build Alpine Packages / build-and-publish (v3.24, 3.24) (push) Failing after 2h27m28s
This commit is contained in:
@@ -41,6 +41,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Prepare Environment
|
- name: Prepare Environment
|
||||||
run: |
|
run: |
|
||||||
|
printf '%s\n' 'https://dl-cdn.alpinelinux.org/alpine/edge/community' >> /etc/apk/repositories
|
||||||
apk add --no-cache --update abuild-rootbld alpine-sdk atools-apkbuild-lint bash ca-certificates curl doas git jq nodejs rsync shellcheck sudo tar
|
apk add --no-cache --update abuild-rootbld alpine-sdk atools-apkbuild-lint bash ca-certificates curl doas git jq nodejs rsync shellcheck sudo tar
|
||||||
trivy_archive="trivy_${TRIVY_VERSION}_Linux-64bit.tar.gz"
|
trivy_archive="trivy_${TRIVY_VERSION}_Linux-64bit.tar.gz"
|
||||||
curl -fsSL -o "/tmp/${trivy_archive}" "https://github.com/aquasecurity/trivy/releases/download/v${TRIVY_VERSION}/${trivy_archive}"
|
curl -fsSL -o "/tmp/${trivy_archive}" "https://github.com/aquasecurity/trivy/releases/download/v${TRIVY_VERSION}/${trivy_archive}"
|
||||||
|
|||||||
@@ -30,11 +30,11 @@ done
|
|||||||
if [[ -d "${repo_dir}" ]]; then
|
if [[ -d "${repo_dir}" ]]; then
|
||||||
cp "${repo_dir}"/*.rsa.pub /etc/apk/keys/
|
cp "${repo_dir}"/*.rsa.pub /etc/apk/keys/
|
||||||
echo "${repo_root}/packages/${repo_name}" >> /etc/apk/repositories
|
echo "${repo_root}/packages/${repo_name}" >> /etc/apk/repositories
|
||||||
elif [[ -z "${registry_url}" ]]; then
|
else
|
||||||
|
if [[ -z "${registry_url}" ]]; then
|
||||||
printf 'missing local repository and no registry fallback: packages/%s/%s\n' "${repo_name}" "${arch}" >&2
|
printf 'missing local repository and no registry fallback: packages/%s/%s\n' "${repo_name}" "${arch}" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
if [[ -n "${registry_url}" ]]; then
|
|
||||||
if [[ ! -f "${registry_key}" ]]; then
|
if [[ ! -f "${registry_key}" ]]; then
|
||||||
printf 'missing Alpine registry signing key: %s\n' "${registry_key:-<unset>}" >&2
|
printf 'missing Alpine registry signing key: %s\n' "${registry_key:-<unset>}" >&2
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user