Skip to content

feat(letter-b,letter-c): enable propagation and configure cors #4

feat(letter-b,letter-c): enable propagation and configure cors

feat(letter-b,letter-c): enable propagation and configure cors #4

name: Build and publish Letter B
on:
push:
branches:
- main
paths:
- 'b/letter_b/**'
- 'b/scripts/**'
- 'b/manage.py'
- 'b/gunicorn_config.py'
- 'b/Dockerfile'
- 'b/otlp.py'
- 'b/pyproject.toml'
- 'b/poetry.lock'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Project checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USER }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v6
with:
platforms: linux/amd64
push: true
context: ./b
file: b/Dockerfile
tags: |
${{ github.repository }}-letter-b:latest
${{ github.repository }}-letter-b:${{ github.sha }}