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
|
|
|
|
uses: actions/checkout@v3
|
2023-01-30 18:15:39 +08:00
|
|
|
-
|
|
|
|
name: Set up Docker Buildx
|
|
|
|
uses: docker/setup-buildx-action@v2
|
2023-01-23 17:07:14 +08:00
|
|
|
-
|
|
|
|
name: Publish
|
2023-04-19 07:02:30 +08:00
|
|
|
uses: docker/bake-action@v3
|
2023-01-30 18:15:39 +08:00
|
|
|
with:
|
|
|
|
targets: publish
|
|
|
|
env:
|
|
|
|
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
|