Skip to content

Commit

Permalink
Fix workflow build check
Browse files Browse the repository at this point in the history
  • Loading branch information
JonJagger committed Oct 20, 2024
1 parent 41810fc commit c146ee8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sh/build_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@ build_image()
{
check_args "$@"

if [ -n "${CI:-}" ] ; then
local -r TYPE="${1}"

if [ -n "${CI:-}" ] && [ "${TYPE}" == 'server' ] ; then
stderr "In CI workflow - using previous docker/build-push-action@v6 GitHub Action"
exit 42
fi

local -r TYPE="${1}"

exit_non_zero_unless_installed docker
export $(echo_versioner_env_vars)
containers_down
Expand Down

0 comments on commit c146ee8

Please sign in to comment.