Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Add web variant

Manav Rathi1da0455b77cf
diff --git a/.github/workflows/web-publish-ghcr.yml b/.github/workflows/web-publish-ghcr.yml
new file mode 100644
index 0000000000..76c0c3de26
--- /dev/null
+++ b/.github/workflows/web-publish-ghcr.yml
@@ -0,0 +1,34 @@
+name: "Publish ghcr (web)"
+
+on:
+ # Run automatically every Wednesday, at 07:00 UTC.
+ schedule:
+ - cron: '0 7 * * 3'
+ # Run manually if needed to publish out of schedule.
+ workflow_dispatch:
+
+jobs:
+ publish:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v4
+
+ - name: Build and push
+ uses: mr-smithers-excellent/docker-build-push@v6
+ with:
+ dockerfile: web/Dockerfile
+ directory: web
+ # Resultant package name will be ghcr.io/ente-io/web
+ image: web
+ registry: ghcr.io
+ enableBuildKit: true
+ multiPlatform: true
+ platform: linux/amd64,linux/arm64
+ tags: ${{ github.sha }}, latest
+ username: ${{ github.actor }}
+ password: ${{ secrets.GITHUB_TOKEN }}
+
+ - name: Update branch ghcr/web to point to source commit
+ run: |
+ git push -f origin HEAD:refs/heads/ghcr/web
diff --git a/server/RUNNING.md b/server/RUNNING.md
index 0d2b17c15c..3219597b94 100644
--- a/server/RUNNING.md
+++ b/server/RUNNING.md
@@ -196,6 +196,15 @@ run Ente's server, you can just pull and run the image from
docker pull ghcr.io/ente-io/server
```
+## web
+
+Similarly, there is a pre-built Docker image containing all the web apps which
+you can just pull and run the from **`ghcr.io/ente-io/web`**.
+
+```sh
+docker pull ghcr.io/ente-io/web
+```
+
## Configuration
Now that you have museum running (either inside Docker or standalone), we can