freezing-wall-19707
08/12/2026, 7:28 PMskip_push on docker images.
I have a number of intermediate packages organized something like the "optimize your docker builds" blog post that I can't seem to find right now.
My docker_image targets are as follows:
• python_base (base python dependency + some security stuff)
• serviceA:srcs (COPY and unpack/precompile a sources pex)
• serviceA:deps (COPY and unpack/precompile a dependencies pex)
• serviceA:<real_tag_for_production> (COPY srcs and deps from the :srcs and :deps images)
• # repeat for a number of services
python_base and all have the :srcs and :deps images all have skip_push=True, since their only purpose is to be preliminary steps in a multistage build
On my branch to upgrade to pants 2.33 (from 2.30) I am seeing that my CI publish script (which is basically just pants publish src::) has started failing because it is trying to publish all images that were packaged.
I can write up an issue, but just wanted to ask around quick first.worried-painter-31382
08/12/2026, 7:37 PMfreezing-wall-19707
08/12/2026, 9:21 PMfreezing-wall-19707
08/13/2026, 10:33 AMcurved-manchester-66006
08/18/2026, 6:08 PMI have a number of intermediate packages organized something like the "optimize your docker builds" blog post that I can't seem to find right now.https://www.pantsbuild.org/blog/2022/08/02/optimizing-python-docker-deploys-using-pants ?
freezing-wall-19707
08/18/2026, 7:07 PMworried-painter-31382
08/22/2026, 6:18 PM