Use third-party containers as source (#367)

* try fetching ubuntu container from KAH

* test using github token

* oops

* fix container build process for PR's

* v

* whoopsies

* link Alpine to KAH

* try porting bazarr

* oops

* improve bazarr labeling

* need version before setting dockerfile

* Fix platform (as SCALE doesn't run on ARM officially)

* Cleanup all Apps related to KAH

* only update base if base exists and do so on an per-app basis
This commit is contained in:
Kjeld Schouten-Lebbing
2021-04-16 14:21:18 +02:00
committed by GitHub
parent 038bed661c
commit 99bb72cb13
83 changed files with 290 additions and 3707 deletions
+8 -4
View File
@@ -29,10 +29,14 @@ jobs:
echo "App: ${app} using version: ${version}"
fi
fi
base=$(cat "./.containers/base/ubuntu/VERSION")
if [[ ! -z "${base}" || "${base}" != "null" ]]; then
echo "${base}" | tee ".containers/apps/${app}/BASE" > /dev/null
echo "App: ${app} using Base: ${base}"
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
done
- name: Fetch new base versions