Skip to content

armgit / ente

Public Imported from GitHub
0

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

Fix up the workflow

Manav Rathi7ddfeb93ddd4
diff --git a/infra/copycat-db/.github/workflows/ci.yaml b/.github/workflows/copycat-db-release.yaml
similarity index 61%
rename from infra/copycat-db/.github/workflows/ci.yaml
rename to .github/workflows/copycat-db-release.yaml
index aa57e206c9..5ec942879d 100644
--- a/infra/copycat-db/.github/workflows/ci.yaml
+++ b/.github/workflows/copycat-db-release.yaml
@@ -1,14 +1,7 @@
-name: Build and push Docker image
+name: "Release (copycat-db)"
on:
- # Enable manual run
- workflow_dispatch:
- push:
- branches:
- - release
- # Sequence of patterns matched against refs/tags
- tags:
- - "v*" # Push events to matching v*, i.e. v4.2.0
+ workflow_dispatch: # Run manually
jobs:
build:
@@ -20,10 +13,12 @@ jobs:
- uses: mr-smithers-excellent/docker-build-push@v6
name: Build & Push
with:
+ dockerfile: infra/copycat-db/Dockerfile
+ directory: infra/copycat-db
image: ente/copycat-db
registry: rg.fr-par.scw.cloud
+ enableBuildKit: true
+ buildArgs: GIT_COMMIT=${GITHUB_SHA}
tags: ${GITHUB_SHA}, latest
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- env:
- GIT_COMMIT: ${GITHUB_SHA}