Skip to content

Merge pull request #41 from tomershafir/feat/grafana-pyroscope #34

Merge pull request #41 from tomershafir/feat/grafana-pyroscope

Merge pull request #41 from tomershafir/feat/grafana-pyroscope #34

Workflow file for this run

name: Docker Build ghcr
on:
push:
branches:
- main
paths-ignore:
- '**.md'
env:
REGISTRY: ghcr.io
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Log in to the Container registry
uses: docker/[email protected]
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker meta
id: meta
uses: docker/[email protected]
with:
images: |
ghcr.io/metrico/qryn-otel-collector
tags: |
latest
- name: Build and push
uses: docker/[email protected]
with:
context: .
file: ./cmd/otel-collector/Dockerfile
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}