Skip to content

Fix build site target (#173) #2

Fix build site target (#173)

Fix build site target (#173) #2

Workflow file for this run

name: Release
on:
push:
# run only against version tags
tags:
- 'v*'
jobs:
otlp-backend-docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: otel-recipes/otlp-backend
- name: 'Login to GitHub Container Registry'
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: ./internal/otlp_backend
push: ${{ github.event_name != 'pull_request' }}
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