Skip to content

Build texlive-full

Build texlive-full #2

Workflow file for this run

name: Build texlive-full
on:
# push:
# branches:
# - dev
workflow_dispatch:
env:
DOCKER_REGISTRY: ghcr.io
IMAGE_NAME: ayaka-notes/texlive-full
# IMAGE_TAG: base
jobs:
build-push-image:
runs-on: ubuntu-latest
strategy:
fail-fast: false
max-parallel: 8
matrix:
tex-version: [2020, 2021, 2022, 2023]
steps:
- name: 'Checkout GitHub Action'
uses: actions/checkout@main
- name: 'Login to GitHub Container Registry'
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- name: Build and push Docker image
id: docker_build
uses: docker/[email protected]
with:
context: texlive/${{ matrix.tex-version }}
file: texlive/${{ matrix.tex-version }}/Dockerfile
push: true
tags: ${{ env.DOCKER_REGISTRY }}/${{ env.IMAGE_NAME }}:${{ matrix.tex-version }}.1