Skip to content

Merge branch 'main' into renovate/dorny-paths-filter-3.x #11

Merge branch 'main' into renovate/dorny-paths-filter-3.x

Merge branch 'main' into renovate/dorny-paths-filter-3.x #11

name: "Typst: Build & Publish to ghcr.io"
on:
push:
paths:
- "templates/src/typst/Dockerfile"
- "templates/src/typst/docker-bake.hcl"
- ".github/workflows/containers-typst.yaml"
workflow_dispatch:
jobs:
build-push-typst:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: "Checkout repository"
uses: "actions/checkout@v4"
- name: "Setup QEMU"
uses: "docker/setup-qemu-action@v3"
- name: "Setup Docker `buildx`"
uses: "docker/setup-buildx-action@v3"
- name: "Login to `ghcr.io`"
uses: "docker/login-action@v3"
with:
registry: "ghcr.io"
username: "${{ github.actor }}"
password: "${{ secrets.GITHUB_TOKEN }}"
- id: bake
uses: docker/bake-action@v5
with:
workdir: "./templates/src/typst"
push: true