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
commit 48ebac23f03e178c6c2b1b968bf89adaa5e4c2e3 Author: Michele Sciabarra <[email protected]> AuthorDate: Sun Sep 6 11:11:26 2026 +0200 build with explicit push --- .github/workflows/check.yaml | 6 +++--- .github/workflows/image.yaml | 6 +++--- Taskfile.yml | 27 +++++++++++++++++---------- 3 files changed, 23 insertions(+), 16 deletions(-) diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index d0c00c5..a272b45 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -29,12 +29,12 @@ jobs: uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0 with: fetch-depth: 0 - - name: License check - uses: apache/skywalking-eyes@a196742f472feaffafea537ce5a2a4c3c53a8de4 # v0.9.0 - name: Set up Go uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0 with: - go-version: 1.23 + go-version: 1.25 + - name: License check + uses: apache/skywalking-eyes@a196742f472feaffafea537ce5a2a4c3c53a8de4 # v0.9.0 - name: Set up Docker Buildx uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4.3.0 - name: Install Task diff --git a/.github/workflows/image.yaml b/.github/workflows/image.yaml index 68fa541..96d963d 100644 --- a/.github/workflows/image.yaml +++ b/.github/workflows/image.yaml @@ -86,12 +86,12 @@ jobs: # full history and tags: "task tag" replaces the existing tags # and "git describe" needs them to be present fetch-depth: 0 - - name: License - uses: apache/skywalking-eyes@a196742f472feaffafea537ce5a2a4c3c53a8de4 # v0.9.0 - name: Set up Go uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0 with: - go-version: '1.23' + go-version: '1.25' + - name: License + uses: apache/skywalking-eyes@a196742f472feaffafea537ce5a2a4c3c53a8de4 # v0.9.0 - name: Setup CI run: bash .github/cisetup.sh - name: Use ghcr.io repo diff --git a/Taskfile.yml b/Taskfile.yml index 02db17d..ed189eb 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -114,9 +114,14 @@ tasks: cmds: - | if test -n "{{.PUSH}}" - then {{.DRY}} docker buildx build -t "{{.COMMON}}" --platform linux/amd64,linux/arm64 . --push - else {{.DRY}} docker buildx build -t "{{.COMMON}}" . --load + then + echo ">>> Building arm/amd and pushing {{.COMMON}}" + {{.DRY}} docker buildx build -t "{{.COMMON}}" --platform linux/amd64,linux/arm64 . --push + else + echo ">>> Building {{.COMMON}}" + {{.DRY}} docker buildx build -t "{{.COMMON}}" . --load fi + echo "<<< Built {{.COMMON}}" build-runtime: requires: { vars: [RT, VER] } @@ -125,13 +130,15 @@ tasks: dir: "runtime/{{.RT}}/{{.VER}}" cmds: - | - echo ">>> Buiilding {{.RUNTIME}}" if test -n "{{.PUSH}}" then + echo ">>> Building arm/amd and pushing {{.RUNTIME}}" {{.DRY}} docker buildx build -t "{{.RUNTIME}}" \ --build-arg COMMON="{{.COMMON}}" \ --platform linux/amd64,linux/arm64 . --push - else {{.DRY}} docker buildx build -t "{{.RUNTIME}}" \ + else + echo ">>> Building {{.RUNTIME}}" + {{.DRY}} docker buildx build -t "{{.RUNTIME}}" \ --build-arg COMMON="{{.COMMON}}" . --load fi echo "<<< Built {{.RUNTIME}}" @@ -160,21 +167,21 @@ tasks: echo Building: $T case "$T" in all_*) - {{.DRY}} task build-common TAG="$TS" + {{.DRY}} task build-common TAG="$TS" PUSH="{{.PUSH}}" for runtime in $(echo {{.RUNTIMES}} | tr ',' ' ') - do {{.DRY}} task build-lang RT="$runtime" TAG="$TS" + do {{.DRY}} task build-lang RT="$runtime" TAG="$TS" PUSH="{{.PUSH}}" done ;; common_*) - {{.DRY}} task build-common TAG="$TS" + {{.DRY}} task build-common TAG="$TS" PUSH="{{.PUSH}}" ;; experimental_*) - {{.DRY}} task x:build-experimental-runtimes TAG="$TS" + {{.DRY}} task x:build-experimental-runtimes TAG="$TS" PUSH="{{.PUSH}}" ;; *_*) TS="${T#*_}" - {{.DRY}} task build-common TAG="$TS" - {{.DRY}} task build-lang RT="$RT" TAG="$TS" + {{.DRY}} task build-common TAG="$TS" PUSH="{{.PUSH}}" + {{.DRY}} task build-lang RT="$RT" TAG="$TS" PUSH="{{.PUSH}}" ;; *) echo this should not happen - did you read the README
