Skip to content

chore: bump go.opentelemetry.io/otel/exporters/prometheus from 0.55.0 to 0.56.0 in /docs/user/integration/sample-app in the otel group #79

chore: bump go.opentelemetry.io/otel/exporters/prometheus from 0.55.0 to 0.56.0 in /docs/user/integration/sample-app in the otel group

chore: bump go.opentelemetry.io/otel/exporters/prometheus from 0.55.0 to 0.56.0 in /docs/user/integration/sample-app in the otel group #79

name: Build Sample App Image
on:
pull_request_target:
paths:
- "docs/user/integration/sample-app/**"
types: [ opened, edited, synchronize, reopened, ready_for_review ]
push:
branches:
- main
- sample-app
paths:
- "docs/user/integration/sample-app/**"
workflow_dispatch:
jobs:
envs:
runs-on: ubuntu-latest
outputs:
tags: ${{ steps.create-tags.outputs.tags }}
steps:
- name: create tags
id: create-tags
run: |
if [[ $GITHUB_EVENT_NAME == 'push' || $GITHUB_EVENT_NAME == 'merge_group' ]]; then
echo 'TAGS=latest' >> "$GITHUB_OUTPUT"
else
{
echo 'tags<<TAGS'
echo 'PR-${{ github.event.pull_request.number }}'
echo '${{ github.event.pull_request.head.sha }}'
echo 'TAGS'
} >> "$GITHUB_OUTPUT"
fi
build-image:
needs: envs
uses: kyma-project/test-infra/.github/workflows/image-builder.yml@main
with:
name: samples/telemetry-sample-app
dockerfile: Dockerfile
context: docs/user/integration/sample-app
tags: ${{ needs.envs.outputs.tags }}
list-images:
needs: build-image
runs-on: ubuntu-latest
steps:
- name: List images
run: |
echo "${{ needs.build-image.outputs.images }}"