mirror of
https://github.com/logto-io/logto.git
synced 2025-02-03 21:48:55 -05:00
ci: build arm64 per release (#3120)
This commit is contained in:
parent
c6e3ecb23c
commit
039d6dff3a
1 changed files with 16 additions and 1 deletions
17
.github/workflows/release.yml
vendored
17
.github/workflows/release.yml
vendored
|
@ -51,11 +51,26 @@ jobs:
|
|||
registry: ghcr.io
|
||||
username: silverhand-bot
|
||||
password: ${{ secrets.BOT_PAT }}
|
||||
|
||||
- name: Setup Docker Buildx
|
||||
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: Build and push
|
||||
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
|
||||
- name: Setup Depot
|
||||
if: ${{ startsWith(github.ref, 'refs/tags/') }}
|
||||
uses: depot/setup-action@v1
|
||||
|
||||
- name: Build
|
||||
- name: Build and push
|
||||
if: ${{ startsWith(github.ref, 'refs/tags/') }}
|
||||
uses: depot/build-push-action@v1
|
||||
with:
|
||||
platforms: linux/amd64, linux/arm64
|
||||
|
|
Loading…
Add table
Reference in a new issue