You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openserverless.apache.org by ms...@apache.org on 2026/09/12 07:15:10 UTC
(openserverless-devcontainer) 01/02: fix imagetag
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-devcontainer.git
commit 6011f7264fa485780917ead9685e96445eab5533
Author: Michele Sciabarra <mi...@sciabarra.com>
AuthorDate: Fri Sep 11 21:23:37 2026 +0200
fix imagetag
---
.github/workflows/image.yml | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/image.yml b/.github/workflows/image.yml
index 3d0193f..5e0794f 100644
--- a/.github/workflows/image.yml
+++ b/.github/workflows/image.yml
@@ -20,7 +20,7 @@ on:
push:
tags:
- '*.*.*.*'
- branches-ignore: '*'
+ branches-ignore: '**'
workflow_dispatch:
jobs:
@@ -51,9 +51,10 @@ jobs:
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
task tag
task ci
- - name: Assign TAG from push
- run: |
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: Generate .env
run: |
OWNER=$(echo "${{ github.repository_owner }}" | tr '[:upper:]' '[:lower:]')