Skip to content

Commit

Permalink
feat: added ns8-user-manager ui to image
Browse files Browse the repository at this point in the history
  • Loading branch information
Tbaile committed Oct 30, 2023
1 parent 344554a commit 30f7da4
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,15 @@ else
fi

buildah add "${container}" imageroot /imageroot

# Copy ui of ns8-user-manager
user_manager_version=v0.1.0
mkdir -p ns8-user-manager
trap 'rm -r ns8-user-manager' EXIT
wget -q -O - https://github.com/NethServer/ns8-user-manager/releases/download/${user_manager_version}/ns8-user-manager-${user_manager_version}.tar.gz | tar xfz - -C ns8-user-manager
# suffix "/" makes the copy from the content of the directory
buildah copy "${container}" ns8-user-manager/ /imageroot/api-moduled/public/

buildah add "${container}" ui/dist /ui
buildah config --entrypoint=/ \
--label='org.nethserver.authorizations=ldapproxy@node:accountprovider cluster:accountprovider traefik@node:routeadm' \
Expand Down
10 changes: 10 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,16 @@
],
"depNameTemplate": "node",
"datasourceTemplate": "docker"
},
{
"fileMatch": [
"build-images.sh"
],
"matchStrings": [
"user_manager_version=(?<currentValue>.*?)\\n"
],
"depNameTemplate": "NethServer/ns8-user-manager",
"datasourceTemplate": "github-releases"
}
],
"packageRules": [
Expand Down

0 comments on commit 30f7da4

Please sign in to comment.