Skip to content

feat: add Traefik dynamic config file provider for middleware #36

feat: add Traefik dynamic config file provider for middleware

feat: add Traefik dynamic config file provider for middleware #36

Workflow file for this run

name: Build & Push Docker Images
on:
push:
branches: [main]
workflow_dispatch:
env:
REGISTRY: ghcr.io
IMAGE_PREFIX: ghcr.io/medformatik/openmapx
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
strategy:
matrix:
include:
- app: api
dockerfile: apps/api/Dockerfile
- app: web
dockerfile: apps/web/Dockerfile
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
- uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/metadata-action@v5
id: meta
with:
images: ${{ env.IMAGE_PREFIX }}-${{ matrix.app }}
tags: |
type=sha,prefix=
type=raw,value=latest
- uses: docker/build-push-action@v6
with:
context: .
file: ${{ matrix.dockerfile }}
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max