Skip to content

chore(deps): update docker/dockerfile docker tag to v1.9 (#19) #11

chore(deps): update docker/dockerfile docker tag to v1.9 (#19)

chore(deps): update docker/dockerfile docker tag to v1.9 (#19) #11

name: "LaTeX: Build & Publish to ghcr.io"
on:
push:
paths:
- "templates/src/latex/Dockerfile"
- "templates/src/latex/docker-bake.hcl"
- ".github/workflows/containers-latex.yaml"
workflow_dispatch:
schedule:
# historically, TeXLive has been published around March
- cron: "0 2 1 4 *"
jobs:
build-push-latex:
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/latex"
push: true