Skip to content

Commit e0c2a44

Browse files
committed
update workflow
1 parent fb6572d commit e0c2a44

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ name: Build and push image to registry
22

33
on:
44
push:
5-
branches:
6-
- main
75
schedule:
86
- cron: "0 10 * * 1"
97
workflow_dispatch:
@@ -50,4 +48,4 @@ jobs:
5048
tags: ${{ steps.meta.outputs.tags }}
5149
labels: ${{ steps.meta.outputs.labels }}
5250
no-cache: true
53-
push: true
51+
push: ${{ github.ref == 'refs/heads/main' }}

0 commit comments

Comments
 (0)