1

Add docker + latex workflow (wip)

This commit is contained in:
2023-11-22 00:30:22 +01:00
commit 66ad46ec3d
2 changed files with 51 additions and 0 deletions

24
docker.yaml Normal file
View File

@ -0,0 +1,24 @@
name: Build Docker image
on:
push:
branches: [master, main]
jobs:
build-docker:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Login to container registry
uses: docker/login-action@v3
with:
registry: gitea.local.chriphost.de
username: ${{ secrets.CONTAINER_REGISTRY_USER }}
password: ${{ secrets.CONTAINER_REGISTRY_TOKEN }}
- name: Build Docker image
run: docker build . --file Dockerfile --tag gitea.local.chriphost.de/christoph/<IMAGE>:latest
- name: Push Docker image
run: docker push gitea.local.chriphost.de/christoph/<IMAGE>:latest