Skip to content

Commit cceda6e

Browse files
committed
remove duplicate pushing.
1 parent 48eb73c commit cceda6e

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

infra/build/functions/build_lib.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -633,20 +633,6 @@ def get_project_image_steps( # pylint: disable=too-many-arguments
633633
architecture=_ARM64)
634634
steps.append(docker_build_arm_step)
635635

636-
logging.info(f'Considering pushing {config.build_type} {language}.')
637-
if (config.build_type == 'fuzzing' and language in ('c', 'c++') and
638-
not not config.testing and not config.experiment and config.upload):
639-
logging.info('Pushing.')
640-
# Push so that historical bugs are reproducible.
641-
push_step = {
642-
'name': 'gcr.io/cloud-builders/docker',
643-
'args': ['push', _get_unsafe_name(name)],
644-
'id': 'push-image',
645-
'waitFor': [docker_build_step['id']],
646-
'allowFailure': True
647-
}
648-
steps.append(push_step)
649-
650636
return steps
651637

652638

0 commit comments

Comments
 (0)