Skip to content

Commit

Permalink
revert to get_parent_branch_name
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmad-el-sayed committed Oct 8, 2024
1 parent 76588e2 commit e37ce23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/manage_docker_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -256,8 +256,8 @@ function manage_docker_image() {

local full_docker_image_name="${server_address}/${project_path}/${docker_image_name}:${docker_image_tag}"

#local parent_branch=$(get_parent_branch_name "${repo_path}")
local parent_branch=$(get_default_branch_name "${repo_path}")
local parent_branch=$(get_parent_branch_name "${repo_path}")
#local parent_branch=$(get_default_branch_name "${repo_path}")
echo "Parent branch: ${parent_branch}"
if has_git_diffs "${repo_path}" "${parent_branch}" files_to_check[@]; then
echo "Image will be built and pushed"
Expand Down

0 comments on commit e37ce23

Please sign in to comment.