Skip to content

Commit c49335b

Browse files
committed
update: release file
Signed-off-by: xiarui.xr <xiarui.xr@antgroup.com>
1 parent ee72fde commit c49335b

1 file changed

Lines changed: 4 additions & 10 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
11
name: Release
22
on:
33
push:
4-
branches:
5-
- '*'
6-
pull_request:
7-
branches:
8-
- '*'
9-
# push: todo fix
10-
# tags:
11-
# - "v*"
4+
tags:
5+
- "v*"
126
permissions:
137
contents: write
148
jobs:
@@ -65,7 +59,7 @@ jobs:
6559
uses: docker/build-push-action@v3
6660
with:
6761
context: .
68-
push: true # ${{ github.event_name != 'pull_request' }}
69-
tags: smartir/smartir:v0.1.0 # ${{ steps.meta.outputs.tags }}
62+
push: ${{ github.event_name != 'pull_request' }}
63+
tags: ${{ steps.meta.outputs.tags }}
7064
labels: ${{ steps.meta.outputs.labels }}
7165

0 commit comments

Comments
 (0)