chore: arm64 images
This commit is contained in:
14
.github/workflows/affine.yml
vendored
14
.github/workflows/affine.yml
vendored
@@ -33,23 +33,31 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Log in to the Container registry
|
- name: Log in to the Container registry
|
||||||
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
registry: ${{ env.REGISTRY }}
|
registry: ${{ env.REGISTRY }}
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@v1
|
||||||
|
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
id: buildx
|
||||||
|
uses: docker/setup-buildx-action@v1
|
||||||
|
|
||||||
- name: Extract metadata (tags, labels) for Docker (AFFiNE-Local)
|
- name: Extract metadata (tags, labels) for Docker (AFFiNE-Local)
|
||||||
id: meta_affine
|
id: meta_affine
|
||||||
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
|
uses: docker/metadata-action@v4
|
||||||
with:
|
with:
|
||||||
images: ${{ env.REGISTRY }}/${{ env.NAMESPACE }}/${{ env.AFFINE_IMAGE_NAME }}
|
images: ${{ env.REGISTRY }}/${{ env.NAMESPACE }}/${{ env.AFFINE_IMAGE_NAME }}
|
||||||
tags: ${{ env.IMAGE_TAG_LATEST }}
|
tags: ${{ env.IMAGE_TAG_LATEST }}
|
||||||
|
|
||||||
- name: Build and push Docker image (AFFINE-Local)
|
- name: Build and push Docker image (AFFINE-Local)
|
||||||
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
|
platforms: linux/amd64,linux/arm64/v8
|
||||||
file: ./.github/deployment/Dockerfile-affine
|
file: ./.github/deployment/Dockerfile-affine
|
||||||
push: ${{ github.ref == 'refs/heads/master' && true || false }}
|
push: ${{ github.ref == 'refs/heads/master' && true || false }}
|
||||||
tags: ${{ steps.meta_affine.outputs.tags }}
|
tags: ${{ steps.meta_affine.outputs.tags }}
|
||||||
|
|||||||
1
.vscode/settings.json
vendored
1
.vscode/settings.json
vendored
@@ -7,6 +7,7 @@
|
|||||||
"Backlinks",
|
"Backlinks",
|
||||||
"blockdb",
|
"blockdb",
|
||||||
"booktitle",
|
"booktitle",
|
||||||
|
"Buildx",
|
||||||
"Cascader",
|
"Cascader",
|
||||||
"clsx",
|
"clsx",
|
||||||
"cssmodule",
|
"cssmodule",
|
||||||
|
|||||||
Reference in New Issue
Block a user