Skip to content

Build texlive-full(base) #5

Build texlive-full(base)

Build texlive-full(base) #5

Workflow file for this run

name: Build texlive-full(base)
on:
# push:
# branches:
# - dev
workflow_dispatch:
env:
DOCKER_REGISTRY: ghcr.io
IMAGE_NAME: ayaka-notes/texlive-full
IMAGE_TAG: base
jobs:
push-base-image:
runs-on: ubuntu-latest
steps:
- name: 'Checkout GitHub Action'
uses: actions/checkout@main
- name: 'Login to GitHub Container Registry'
uses: docker/[email protected]
with:
registry: ${{ env.DOCKER_REGISTRY }}
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- name: Build and push Docker image
id: docker_build
uses: docker/[email protected]
with:
context: texlive/Base
file: texlive/Base/Dockerfile
push: true
tags: ${{ env.DOCKER_REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }}
push-slim-image:
runs-on: ubuntu-latest
steps:
- name: 'Checkout GitHub Action'
uses: actions/checkout@main
- name: 'Login to GitHub Container Registry'
uses: docker/[email protected]
with:
registry: ${{ env.DOCKER_REGISTRY }}
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- name: Build and push Docker image
id: docker_build
uses: docker/[email protected]
with:
context: texlive/Slim
file: texlive/Slim/Dockerfile
push: true
tags: ${{ env.DOCKER_REGISTRY }}/${{ env.IMAGE_NAME }}:2023.1.slim