This is an automated email from the ASF dual-hosted git repository.

sciabarracom pushed a commit to branch 0.9.0
in repository https://gitbox.apache.org/repos/asf/openserverless-runtimes.git


The following commit(s) were added to refs/heads/0.9.0 by this push:
     new cc59301  building pyhthon:sys and common:1.18.4 ahead of time
cc59301 is described below

commit cc59301d46acbb39a8072d8d687195ffa0874a6a
Author: Michele Sciabarra <[email protected]>
AuthorDate: Thu Sep 10 09:34:38 2026 +0200

    building pyhthon:sys and common:1.18.4 ahead of time
---
 .github/workflows/image.yaml | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/image.yaml b/.github/workflows/image.yaml
index 93993dc..b52ffdf 100644
--- a/.github/workflows/image.yaml
+++ b/.github/workflows/image.yaml
@@ -162,6 +162,15 @@ jobs:
                   --format='%(refname:short)' refs/tags)
           echo "tag=$TAG" >> "$GITHUB_OUTPUT"
           echo "scope=${TAG%%_*}" >> "$GITHUB_OUTPUT"
+      # Every runtime image FROMs common, so it must be pushed here, before
+      # the matrix starts. Keep the version in sync with COMMON_VER in the
+      # Taskfile.
+      - name: Build and push common:1.18.4
+        run: task buildx FILTER="common:1.18.4"
+      # python:sys is built here too, ahead of the matrix.
+      - name: Build and push python:sys
+        if: ${{ steps.scope.outputs.scope == 'all' || 
steps.scope.outputs.scope == 'python' }}
+        run: task buildx FILTER="python:sys"
 
   # 2. One job per runtime image, built in parallel.
   runtimes:
@@ -176,12 +185,12 @@ jobs:
       max-parallel: 6
       # One job per image. Edit this list by hand when a runtime version is
       # added or dropped: each entry runs "task buildx FILTER=<rt>:<ver>".
+      # common:1.18.4 and python:sys are NOT listed here: they are built by
+      # the "common" job above, before this matrix starts.
       # A shard is skipped unless the tag scope selects it (see "if" below),
       # so entries for every language can stay listed here all the time.
       matrix:
         include:
-          - { rt: common, ver: 1.18.4 }
-          - { rt: python, ver: sys }
           - { rt: python, ver: v3.11 }
           - { rt: python, ver: v3.12 }
           - { rt: python, ver: v3.13 }

Reply via email to