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-build.git


The following commit(s) were added to refs/heads/0.9.0 by this push:
     new aa64cef  fi build tagging
aa64cef is described below

commit aa64ceff05602fce3d05ec7f32bb728efcf0222e
Author: Michele Sciabarra <[email protected]>
AuthorDate: Sat Sep 12 07:43:17 2026 +0200

    fi build tagging
---
 .github/workflows/image.yml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/image.yml b/.github/workflows/image.yml
index ac8e1b4..134e7cb 100644
--- a/.github/workflows/image.yml
+++ b/.github/workflows/image.yml
@@ -89,13 +89,15 @@ jobs:
           git config user.email 
"41898282+github-actions[bot]@users.noreply.github.com"
           task tag
           task ci
+          echo "IMG_TAG=$(git describe --tags --abbrev=0)" >> "$GITHUB_ENV"
+      - name: Assign TAG from push
+        if: ${{ github.event_name == 'push' }}
+        run: echo "IMG_TAG=${{ github.ref_name }}" >> "$GITHUB_ENV"
       - name: Set up JDK 11
         uses: actions/setup-java@v6
         with:
           distribution: 'temurin'
           java-version: '11'
-      - name: Assign TAG from push
-        run: echo "IMG_TAG=$(git describe --tags --abbrev=0)" >> "$GITHUB_ENV"
       - name: Use ghcr.io repo
         if:  ${{ github.repository_owner != 'apache'}}
         run: |

Reply via email to