Skip to content

Merge pull request #57 from Dynatrace/change-calling-images-by-productId #33

Merge pull request #57 from Dynatrace/change-calling-images-by-productId

Merge pull request #57 from Dynatrace/change-calling-images-by-productId #33

Workflow file for this run

# Copyright The OpenTelemetry Authors
# SPDX-License-Identifier: Apache-2.0
name: "Build and Publish"
on:
push:
branches:
- "main"
permissions:
contents: read
jobs:
tag-from-commit:
runs-on: ubuntu-24.04
steps:
- id: commit
uses: prompt/actions-commit-hash@v3
outputs:
image-tag: ${{ steps.commit.outputs.short }}
build_and_push_images:
permissions: # required by the reusable workflow
contents: read
packages: write
needs: tag-from-commit
uses: ./.github/workflows/build-and-push-images.yaml
with:
push: true
version: ${{ needs.tag-from-commit.outputs.image-tag }}
secrets: inherit