def METHOD_NAME(workflow_with_image_first, workflow_line_numbers_with_image_first):
    file_path = '/.github/workflows/command.yaml'
    gha_provider = GithubActionProvider(file_path=file_path, workflow_config=workflow_with_image_first,
                                        workflow_line_numbers=workflow_line_numbers_with_image_first)
    images = gha_provider.extract_images_from_workflow()
    assert len(images) == 2
    assert images[0].start_line != images[1].start_line
    assert images[0].end_line != images[1].end_line
    assert images[0].related_resource_id != images[1].related_resource_id