This tasks focuses on publishing Python distroless variants. The following is a possible implementation.
The task :sdks:python:container:pushAll configured in sdks/python/container/build.gradle iterates through python versions, invoking :sdks:python:container:push<version>. Through various additional Gradle tasks, these ultimately converge to the :sdks:python:container:py<version>:docker tasks. Said :docker task uses a pushContainer flag to indicate whether to publish the resulting container image. A likely non-obtrusive way to publish distroless variants may be to refactor sdks/python/container/build.gradle from:
This tasks focuses on publishing Python distroless variants. The following is a possible implementation.
The task
:sdks:python:container:pushAll
configured in sdks/python/container/build.gradle iterates through python versions, invoking:sdks:python:container:push<version>
. Through various additional Gradle tasks, these ultimately converge to the:sdks:python:container:py<version>:docker
tasks. Said:docker
task uses apushContainer
flag to indicate whether to publish the resulting container image. A likely non-obtrusive way to publish distroless variants may be to refactor sdks/python/container/build.gradle from:to: