π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Inline GHCR publish builds
Manav Rathi1563ff95db54
diff --git a/.github/workflows/server-publish-ghcr.yml b/.github/workflows/server-publish-ghcr.ymlindex c2395f9b92..4bbce60cb4 100644--- a/.github/workflows/server-publish-ghcr.yml+++ b/.github/workflows/server-publish-ghcr.yml@@ -24,21 +24,21 @@ jobs:with:ref: ${{ env.museum_commit }}+ - name: Log in to GHCR+ env:+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}+ run: printf '%s' "${GITHUB_TOKEN}" | docker login ghcr.io --username "${GITHUB_ACTOR}" --password-stdin+- name: Build and push- uses: mr-smithers-excellent/docker-build-push@v6- with:- dockerfile: server/Dockerfile- directory: server- # Resultant package name will be ghcr.io/ente-io/server- image: server- registry: ghcr.io- enableBuildKit: true- multiPlatform: true- platform: linux/amd64,linux/arm64- buildArgs: GIT_COMMIT=${{ env.museum_commit }}- tags: ${{ env.museum_commit }}, latest- username: ${{ github.actor }}- password: ${{ secrets.GITHUB_TOKEN }}+ run: |+ docker buildx create --use+ docker buildx build --push \+ --file server/Dockerfile \+ --platform linux/amd64,linux/arm64 \+ --build-arg GIT_COMMIT="${museum_commit}" \+ --tag ghcr.io/ente-io/server:${museum_commit} \+ --tag ghcr.io/ente-io/server:latest \+ server- name: Update branch ghcr/server to point to source commitrun: |diff --git a/.github/workflows/web-publish-ghcr.yml b/.github/workflows/web-publish-ghcr.ymlindex cfebffc28e..a558fb20bc 100644--- a/.github/workflows/web-publish-ghcr.yml+++ b/.github/workflows/web-publish-ghcr.yml@@ -18,20 +18,20 @@ jobs:- name: Checkout codeuses: actions/checkout@v6+ - name: Log in to GHCR+ env:+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}+ run: printf '%s' "${GITHUB_TOKEN}" | docker login ghcr.io --username "${GITHUB_ACTOR}" --password-stdin+- name: Build and push- uses: mr-smithers-excellent/docker-build-push@v6- with:- dockerfile: web/Dockerfile- directory: . # repo root- # 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 }}+ run: |+ docker buildx create --use+ docker buildx build --push \+ --file web/Dockerfile \+ --platform linux/amd64,linux/arm64 \+ --tag ghcr.io/ente-io/web:${GITHUB_SHA} \+ --tag ghcr.io/ente-io/web:latest \+ .- name: Update branch ghcr/web to point to source commitrun: |