From e2ca4144d95a83987fa8828f4411ba3660622d83 Mon Sep 17 00:00:00 2001 From: barcus Date: Mon, 17 Jun 2024 23:04:25 +0200 Subject: [PATCH] disable ubuntu builds --- .github/actions/prepare-bareos-app/entrypoint.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/actions/prepare-bareos-app/entrypoint.sh b/.github/actions/prepare-bareos-app/entrypoint.sh index 7d43646..9f1caa9 100755 --- a/.github/actions/prepare-bareos-app/entrypoint.sh +++ b/.github/actions/prepare-bareos-app/entrypoint.sh @@ -28,6 +28,11 @@ for file in $docker_files; do base_img=$(echo "$version_dir" |cut -d'-' -f2) [[ $version -ge 20 ]] && default_backend='pgsql' + # disable ubuntu builds + if [ "${base_img}" == "ubuntu" ]; then + continue + fi + # Define default tag tag_build="${version}-${base_img}" if [ "${app}" == 'director' ]; then @@ -37,7 +42,7 @@ for file in $docker_files; do # nightly build only on scheduled job, excepted sunday if [ ${GITHUB_EVENT_NAME} == 'schedule' ] && [ $(date +%u) -ne 7 ]; then - [ "${version}" != 'nightly' ] && continue + [ "${version}" != 'nightly' ] && continue fi # Declare each Dockerfile and tags related