You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by da...@apache.org on 2025/01/02 22:03:27 UTC
(beam) branch distroless-beam-python-sdk-snapshots updated: Add docker build command
This is an automated email from the ASF dual-hosted git repository.
damondouglas pushed a commit to branch distroless-beam-python-sdk-snapshots
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/distroless-beam-python-sdk-snapshots by this push:
new 4a8f7db3443 Add docker build command
4a8f7db3443 is described below
commit 4a8f7db344304fe607fd716f1e1ed45e823c7b33
Author: Damon <da...@users.noreply.github.com>
AuthorDate: Thu Jan 2 14:03:20 2025 -0800
Add docker build command
---
.../beam_Publish_Python_SDK_Distroless_Snapshots.yml | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/beam_Publish_Python_SDK_Distroless_Snapshots.yml b/.github/workflows/beam_Publish_Python_SDK_Distroless_Snapshots.yml
index 9ae37712044..64f4b300d3d 100644
--- a/.github/workflows/beam_Publish_Python_SDK_Distroless_Snapshots.yml
+++ b/.github/workflows/beam_Publish_Python_SDK_Distroless_Snapshots.yml
@@ -85,8 +85,15 @@ jobs:
- name: GCloud Docker credential helper
run: |
gcloud auth configure-docker ${{ env.docker_registry }}
- # TODO(https://github.com/apache/beam/issues/32914): create after merging into main branch
- # - name: Build and push Python distroless image
+ - name: Build and push Python distroless image
+ run: |
+ docker buildx build \
+ -t gcr.io/apache-beam-testing/beam-sdk/beam_${python_version}_sdk_distroless:${{ github.sha }} \
+ -t gcr.io/apache-beam-testing/beam-sdk/beam_${python_version}_sdk_distroless:${BEAM_VERSION} \
+ -t gcr.io/apache-beam-testing/beam-sdk/beam_${python_version}_sdk_distroless:latest \
+ -f sdks/python/container/Dockerfile-distroless \
+ --build-arg=BASE=gcr.io/apache-beam-testing/beam-sdk/beam_${python_version}_sdk:${BEAM_VERSION} \
+ .