move containers from .containers to containers

This commit is contained in:
kjeld Schouten-Lebbing
2021-05-30 13:02:07 +02:00
parent 15569974a0
commit c447b5b51f
99 changed files with 25 additions and 26 deletions
+12 -12
View File
@@ -21,19 +21,19 @@ jobs:
fetch-depth: 1
- name: Fetch new application versions
run: |
find ./.containers/apps -maxdepth 1 -mindepth 1 -type d -exec basename {} \; | while read app; do
if test -f "./.containers/apps/${app}/latest-version.sh"; then
version=$(bash "./.containers/apps/${app}/latest-version.sh")
find ./containers/apps -maxdepth 1 -mindepth 1 -type d -exec basename {} \; | while read app; do
if test -f "./containers/apps/${app}/latest-version.sh"; then
version=$(bash "./containers/apps/${app}/latest-version.sh")
if [[ ! -z "${version}" || "${version}" != "null" ]]; then
echo "${version}" | tee "./.containers/apps/${app}/VERSION" > /dev/null
echo "${version}" | tee "./containers/apps/${app}/VERSION" > /dev/null
echo "App: ${app} using version: ${version}"
fi
fi
if test -f "./.containers/apps/${app}/BASE"; then
if test -f "./.containers/apps/${app}/latest-base.sh"; then
base=$(bash "./.containers/apps/${app}/latest-base.sh")
if test -f "./containers/apps/${app}/BASE"; then
if test -f "./containers/apps/${app}/latest-base.sh"; then
base=$(bash "./containers/apps/${app}/latest-base.sh")
if [[ ! -z "${base}" || "${base}" != "null" ]]; then
echo "${base}" | tee ".containers/apps/${app}/BASE" > /dev/null
echo "${base}" | tee "containers/apps/${app}/BASE" > /dev/null
echo "App: ${app} using Base: ${base}"
fi
fi
@@ -41,11 +41,11 @@ jobs:
done
- name: Fetch new base versions
run: |
find ./.containers/base -maxdepth 1 -mindepth 1 -type d -exec basename {} \; | while read app; do
if test -f "./.containers/base/${app}/latest-version.sh"; then
version=$(bash "./.containers/base/${app}/latest-version.sh")
find ./containers/base -maxdepth 1 -mindepth 1 -type d -exec basename {} \; | while read app; do
if test -f "./containers/base/${app}/latest-version.sh"; then
version=$(bash "./containers/base/${app}/latest-version.sh")
if [[ ! -z "${version}" || "${version}" != "null" ]]; then
echo "${version}" | tee "./.containers/base/${app}/VERSION" > /dev/null
echo "${version}" | tee "./containers/base/${app}/VERSION" > /dev/null
echo "${app} ${version}"
fi
fi