Can I somehow prevent `publish` from running `pack...
# plugins
g
Can I somehow prevent
publish
from running
package
? Due to the size limitation of 2GB in pants 2.15 I've got a weird situation where I can upload a container to an external host but I can't package it. Probably because I wasn't aware of this connection from the start... Essentially for
package
I create an OCI tar archive (3.7 GB) but for publish I skip that step and go directly from directory to the remote docker registry...
1
Just refactored it to not generate an oci-archive for package. It's quite useless outside debugging anyways.
c
for posterity, there’s currently not a way to avoid packaging before publishing, as the resulting artifact from package is what is fed into the publish step.
g
Yeah; that's I figured. I wasn't actually using that (as I wasn't aware of the connection) but it worked out well anyways due to caching.
👍 1