Skip to content

Commit 4bf65bf

Browse files
committed
fix(ci): fix trigger according to actions/runner#1007
1 parent 40f8d5d commit 4bf65bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/container.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ on:
55
push:
66
branches:
77
- main
8-
tags:
9-
- v*
8+
create:
109

1110
env:
1211
CONTAINER_REGISTRY: ghcr.io
@@ -17,6 +16,7 @@ jobs:
1716
build:
1817
name: Build
1918
runs-on: ubuntu-latest
19+
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')
2020
steps:
2121
- name: Check out
2222
uses: actions/checkout@v3

0 commit comments

Comments
 (0)