Skip to content

Add python to list of supported languages (#175) #7

Add python to list of supported languages (#175)

Add python to list of supported languages (#175) #7

Workflow file for this run

name: Release
on:
push:
# run only against version tags
tags:
- 'v*'
env:
REGISTRY: ghcr.io
IMAGE_NAME: joaopgrassi/otel-recipes/otlp-backend
jobs:
otlp-backend-docker:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: 'Login to GitHub Container Registry'
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: ./internal/otlp_backend
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
site:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: build
run: make site
- name: Release
uses: softprops/action-gh-release@v2
with:
files: src/site/build.zip
draft: true
generate_release_notes: true