2023-01-23 17:07:14 +08:00
|
|
|
name: publish
|
|
|
|
|
2023-03-26 20:30:33 +08:00
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2023-01-23 17:07:14 +08:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
tags:
|
|
|
|
- 'v*'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
publish:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
-
|
|
|
|
name: Checkout
|
2023-09-05 06:40:48 +08:00
|
|
|
uses: actions/checkout@v4
|
2023-01-30 18:15:39 +08:00
|
|
|
-
|
|
|
|
name: Set up Docker Buildx
|
2023-09-13 06:12:43 +08:00
|
|
|
uses: docker/setup-buildx-action@v3
|
2023-01-23 17:07:14 +08:00
|
|
|
-
|
|
|
|
name: Publish
|
2024-06-18 06:54:54 +08:00
|
|
|
uses: docker/bake-action@v5
|
2023-01-30 18:15:39 +08:00
|
|
|
with:
|
|
|
|
targets: publish
|
|
|
|
env:
|
|
|
|
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
|