Skip to content

Update dockerfile to works with our gh action and use latex preinstal… #1

Update dockerfile to works with our gh action and use latex preinstal…

Update dockerfile to works with our gh action and use latex preinstal… #1

Workflow file for this run

name: Build image
on:
push:
tags:
- 'v*.*.*.*'
jobs:
docker:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Check out the code
uses: actions/checkout@v4
- name: Docker metadata
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ secrets.DOCKER_REGISTRY_IDENTIFER }}/overleaf-full-sso
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ${{ secrets.DOCKER_REGISTRY_URL }}
username: ${{ secrets.DOCKER_REGISTRY_USERNAME }}
password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
build-args: |
login_text='username'
collab_text='Direct share with collaborators is enabled only for activated users!'
admin_is_sysadmin='true'
platforms: linux/amd64 #,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
file: ldap-overleaf-sl/Dockerfile