move containers from .containers to containers
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user