workflowfix1
This commit is contained in:
@@ -33,37 +33,37 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
brew install norwoodj/tap/helm-docs
|
brew install norwoodj/tap/helm-docs
|
||||||
|
|
||||||
- name: Containers: Fetch new application versions
|
- name: Containers: Fetch new application versions
|
||||||
run: |
|
run: |
|
||||||
find ./containers/apps -maxdepth 1 -mindepth 1 -type d -exec basename {} \; | while read app; do
|
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
|
if test -f "./containers/apps/${app}/latest-version.sh"; then
|
||||||
version=$(bash "./containers/apps/${app}/latest-version.sh")
|
version=$(bash "./containers/apps/${app}/latest-version.sh")
|
||||||
if [[ ! -z "${version}" || "${version}" != "null" ]]; then
|
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}"
|
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 [[ ! -z "${base}" || "${base}" != "null" ]]; then
|
|
||||||
echo "${base}" | tee "containers/apps/${app}/BASE" > /dev/null
|
|
||||||
echo "App: ${app} using Base: ${base}"
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
if test -f "./containers/apps/${app}/BASE"; then
|
||||||
done
|
if test -f "./containers/apps/${app}/latest-base.sh"; then
|
||||||
- name: Containers: Fetch new base versions
|
base=$(bash "./containers/apps/${app}/latest-base.sh")
|
||||||
run: |
|
if [[ ! -z "${base}" || "${base}" != "null" ]]; then
|
||||||
find ./containers/base -maxdepth 1 -mindepth 1 -type d -exec basename {} \; | while read app; do
|
echo "${base}" | tee "containers/apps/${app}/BASE" > /dev/null
|
||||||
if test -f "./containers/base/${app}/latest-version.sh"; then
|
echo "App: ${app} using Base: ${base}"
|
||||||
version=$(bash "./containers/base/${app}/latest-version.sh")
|
fi
|
||||||
if [[ ! -z "${version}" || "${version}" != "null" ]]; then
|
fi
|
||||||
echo "${version}" | tee "./containers/base/${app}/VERSION" > /dev/null
|
|
||||||
echo "${app} ${version}"
|
|
||||||
fi
|
fi
|
||||||
fi
|
done
|
||||||
done
|
- name: Containers: 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")
|
||||||
|
if [[ ! -z "${version}" || "${version}" != "null" ]]; then
|
||||||
|
echo "${version}" | tee "./containers/base/${app}/VERSION" > /dev/null
|
||||||
|
echo "${app} ${version}"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
- name: (re)generate docs
|
- name: (re)generate docs
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user