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:06:30 UTC

(beam) branch distroless-beam-python-sdk-snapshots updated: Fix python_version variable

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 5980a8ad755 Fix python_version variable
5980a8ad755 is described below

commit 5980a8ad7556f6994cf135683ba28c119938a54a
Author: Damon <da...@users.noreply.github.com>
AuthorDate: Thu Jan 2 14:06:23 2025 -0800

    Fix python_version variable
---
 .../workflows/beam_Publish_Python_SDK_Distroless_Snapshots.yml    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/beam_Publish_Python_SDK_Distroless_Snapshots.yml b/.github/workflows/beam_Publish_Python_SDK_Distroless_Snapshots.yml
index 64f4b300d3d..b22022ffb36 100644
--- a/.github/workflows/beam_Publish_Python_SDK_Distroless_Snapshots.yml
+++ b/.github/workflows/beam_Publish_Python_SDK_Distroless_Snapshots.yml
@@ -88,11 +88,11 @@ jobs:
       - 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 \
+            -t gcr.io/apache-beam-testing/beam-sdk/beam_${{ matrix.python_version }}_sdk_distroless:${{ github.sha }} \
+            -t gcr.io/apache-beam-testing/beam-sdk/beam_${{ matrix.python_version }}_sdk_distroless:${BEAM_VERSION} \
+            -t gcr.io/apache-beam-testing/beam-sdk/beam_${{ matrix.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} \
+            --build-arg=BASE=gcr.io/apache-beam-testing/beam-sdk/beam_${{ matrix.python_version }}_sdk:${BEAM_VERSION} \
             .