Skip to content

Commit

Permalink
disable ubuntu builds
Browse files Browse the repository at this point in the history
  • Loading branch information
barcus committed Jun 17, 2024
1 parent 1034456 commit e2ca414
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/actions/prepare-bareos-app/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit e2ca414

Please sign in to comment.