Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

ci(push): 👷 push workflow update (#695)

Prashant Shahia5bf4c1a61aa
diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml
index 7cf2f7e0a3..2f39f28af1 100644
--- a/.github/workflows/push.yaml
+++ b/.github/workflows/push.yaml
@@ -2,14 +2,11 @@ name: push
on:
push:
- paths:
- - 'pkg/query-service/**'
- - 'frontend/**'
branches:
- main
- develop
tags:
- - ^v[0-9]+.[0-9]+.[0-9]+$
+ - v*
jobs:
@@ -37,7 +34,9 @@ jobs:
- name: Set docker tag environment
run: |
if [ '${{ steps.branch-name.outputs.is_tag }}' == 'true' ]; then
- echo "DOCKER_TAG=${{ steps.branch-name.outputs.tag }}" >> $GITHUB_ENV
+ tag="${{ steps.branch-name.outputs.tag }}"
+ tag="${tag:1}"
+ echo "DOCKER_TAG=$tag" >> $GITHUB_ENV
elif [ '${{ steps.branch-name.outputs.current_branch }}' == 'main' ]; then
echo "DOCKER_TAG=latest" >> $GITHUB_ENV
else
@@ -79,7 +78,9 @@ jobs:
- name: Set docker tag environment
run: |
if [ '${{ steps.branch-name.outputs.is_tag }}' == 'true' ]; then
- echo "DOCKER_TAG=${{ steps.branch-name.outputs.tag }}" >> $GITHUB_ENV
+ tag="${{ steps.branch-name.outputs.tag }}"
+ tag="${tag:1}"
+ echo "DOCKER_TAG=$tag" >> $GITHUB_ENV
elif [ '${{ steps.branch-name.outputs.current_branch }}' == 'main' ]; then
echo "DOCKER_TAG=latest" >> $GITHUB_ENV
else