mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-11-23 23:22:50 +03:00
feat: modify ci
This commit is contained in:
parent
cf3e13911b
commit
8caaccbdf8
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user