Add image for LaTex

This commit is contained in:
2024-10-25 11:15:27 +02:00
parent 5f31bc1976
commit 60859492ca
2 changed files with 58 additions and 0 deletions

49
.github/workflows/notes-registry.yml vendored Normal file
View File

@ -0,0 +1,49 @@
name: Create and publish Docker image
on:
push:
branches:
- main
paths: [
Dockerfile
]
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build-and-push-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
attestations: write
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Container registry login
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Build and push image
id: push
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}