Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

feat: modify ci

QiShaoXuan8caaccbdf856
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 82039f9e6c..869f9391c3 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -77,6 +77,8 @@ jobs:
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
+ IMAGE_TAG: canary-${{ github.sha }}
+ IMAGE_TAG_LATEST: nightly-latest
steps:
- name: Check out the repo
@@ -100,6 +102,9 @@ jobs:
uses: docker/metadata-action@v4
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
+ tags: |
+ ${{ env.IMAGE_TAG }}
+ ${{ env.IMAGE_TAG_LATEST }}
- name: Build and push Docker image
uses: docker/build-push-action@v3