here is the build
i am getting the following error on a module build
publish-images / Publish module images
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: GitHub Actions: Transitioning from Node 16 to Node 20 - The GitHub Blog .
error
[2/4] Fetching packages...
error An unexpected error occurred: "https://registry.npm.taobao.org/graceful-fs/download/graceful-fs-4.2.6.tgz: certificate has expired".
info If you think this is a bug, please open a bug report with the information provided in "/usr/src/ui/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
error while running runtime: exit status 1
time="2024-01-24T20:36:58Z" level=error msg="exit status 1"
Error: Process completed with exit code 1.
1 Like
@stephdl might you have an idea whats causing this build to fail?
1 Like
mark_nl
(Mark Verlinde)
January 27, 2024, 7:32am
3
https://registry.npm.taobao.org : certificate has expired ! update dependencies in yarn.lock; use other NPM registry:
committed 05:17PM - 24 Jan 24 UTC
registry.npm.taobao.org is obsolete and has invalid TLS certificate
2 Likes
hello @mark_nl thank you so much, this solves my problems, now how would i have known
1 Like
mark_nl
(Mark Verlinde)
January 27, 2024, 11:27am
6
Are you sure the github CR ghcr.io/florider89/joplin-server:latest
exists and is publicly available?
Or did you mean this docker CR?:
https://hub.docker.com/r/florider89/joplin-server
i was playing around with those values when i initially got the taobao error.
HAve since reverted to the original cr, same issue persisits
1 Like
mark_nl
(Mark Verlinde)
January 27, 2024, 2:38pm
8
Build script is still broken on that line:
# ghcr.io/xxxxx is the GitHub container registry or your own registry or docker.io for Docker Hub
# The image tag is set to latest by default, but can be overridden with the IMAGETAG environment variable
# --label="org.nethserver.images=docker.io/mariadb:10.11.5 docker.io/roundcube/roundcubemail:1.6.4-apache"
# rootfull=0 === rootless container
# tcp-ports-demand=1 number of tcp Port to reserve , 1 is the minimum, can be udp or tcp
buildah config --entrypoint=/ \
--label="org.nethserver.authorizations=traefik@node:routeadm" \
--label="org.nethserver.tcp-ports-demand=1" \
--label="org.nethserver.rootfull=0" \
--label="org.nethserver.images=docker.io/postgres:16 docker.io/joplin/server:latest" \
# --label="org.nethserver.images=docker.io/postgres:16 docker.io/florider89/joplin-server:latest" \
"${container}"
# Commit the image
buildah commit "${container}" "${repobase}/${reponame}"
# Append the image URL to the images array
images+=("${repobase}/${reponame}")
#
# NOTICE:
#
Note the backslashes, that is to write an long (bash) command on multiple lines.
You can not add a comment in there.
Try to move the commented line down (under"${container}"
) than it is not in the multiline-comandblok with backslashes anymore.
1 Like
Ah ok, i did not know that, and Thank you. @mark_nl that helps
today you’ve helped me squash a number of my issues…
2 Likes