Skip to content

Commit 80050a6

Browse files
committed
Build for AMD
1 parent 064431d commit 80050a6

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

.github/workflows/docker-deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,21 +27,21 @@ jobs:
2727
with:
2828
context: .
2929
file: server-ce/Dockerfile-base
30-
platforms: linux/arm64,linux/amd64
30+
platforms: linux/amd64
3131
push: true
3232
tags: |
3333
ghcr.io/${{ github.repository_owner }}/overleaf-arm-base:latest
34-
cache-from: type=registry,ref=ghcr.io/${{ github.repository_owner }}/overleaf-arm-base:latest
34+
cache-from: type=registry,ref=ghcr.io/${{ github.repository_owner }}/overleaf-amd-base:latest
3535
cache-to: type=inline
3636

3737
- name: Build and push Overleaf ARM
3838
uses: docker/build-push-action@v6
3939
with:
4040
context: .
4141
file: server-ce/Dockerfile
42-
platforms: linux/arm64,linux/amd64
42+
platforms: linux/amd64
4343
push: true
4444
tags: |
4545
ghcr.io/${{ github.repository_owner }}/overleaf-arm:latest
46-
cache-from: type=registry,ref=ghcr.io/${{ github.repository_owner }}/overleaf-arm:latest
46+
cache-from: type=registry,ref=ghcr.io/${{ github.repository_owner }}/overleaf-amd:latest
4747
cache-to: type=inline

server-ce/Dockerfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,14 @@ ENV OVERLEAF_APP_NAME="Overleaf Community Edition"
103103

104104
ENV OPTIMISE_PDF="true"
105105

106+
# Marketing
107+
ENV OVERLEAF_LEFT_FOOTER = '[{"text": "<a
108+
href=\"https://github.com/tgmstudios/overleaf-arm\">Overleaf for
109+
ARM</a>"},{"text": "<strong class=\"text-muted\">|</strong>"},{"text": "Developed by <a href=\"https://tgm.one\">TGM</a>"}]'
110+
111+
ENV OVERLEAF_RIGHT_FOOTER = '[{"text": "Copyright © CCSO 2024 - All rights reserved"} ]'
112+
ENV OVERLEAF_IS_SERVER_PRO = "true"
113+
106114
# Phusion Image timeouts before sending SIGKILL to processes
107115
# ----------------------------------------------------------
108116
ENV KILL_PROCESS_TIMEOUT=55

0 commit comments

Comments
 (0)