Skip to content

Commit 9cd7315

Browse files
committed
feat: remove schedule, tags and execute only on main
1 parent 8eccca3 commit 9cd7315

1 file changed

Lines changed: 6 additions & 19 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
11
name: ci
22

33
on:
4-
schedule:
5-
- cron: "0 10 * * *"
64
push:
7-
branches:
8-
- "**"
9-
tags:
10-
- "v*.*.*"
11-
pull_request:
125
branches:
136
- "main"
147
workflow_dispatch:
@@ -20,11 +13,9 @@ jobs:
2013
contents: read
2114
packages: write
2215
steps:
23-
-
24-
name: Checkout
16+
- name: Checkout
2517
uses: actions/checkout@v3
26-
-
27-
name: Docker meta
18+
- name: Docker meta
2819
id: meta
2920
uses: docker/metadata-action@v4
3021
with:
@@ -37,22 +28,18 @@ jobs:
3728
type=semver,pattern={{version}}
3829
type=semver,pattern={{major}}.{{minor}}
3930
type=semver,pattern={{major}}
40-
-
41-
name: Set up QEMU
31+
- name: Set up QEMU
4232
uses: docker/setup-qemu-action@v2
43-
-
44-
name: Set up Docker Buildx
33+
- name: Set up Docker Buildx
4534
uses: docker/setup-buildx-action@v2
46-
-
47-
name: Login to GHCR
35+
- name: Login to GHCR
4836
if: github.event_name != 'pull_request'
4937
uses: docker/login-action@v2
5038
with:
5139
registry: ghcr.io
5240
username: ${{ github.actor }}
5341
password: ${{ secrets.GITHUB_TOKEN }}
54-
-
55-
name: Build and push
42+
- name: Build and push
5643
uses: docker/build-push-action@v4
5744
with:
5845
context: .

0 commit comments

Comments
 (0)