Skip to content

Commit 5a67c91

Browse files
committed
Run back CI only on main
1 parent a0d9e03 commit 5a67c91

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/ci-pipeline.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,11 @@ name: CI Pipeline
88
on:
99
push:
1010
branches: [ "main" ]
11-
pull_request:
12-
branches: [ "main" ]
11+
####### Uncomment this to test the CI pipeline in a PR
12+
####### You'll also need to comment the rules containing {{branch}}
13+
####### in the `Extract Docker metadata` step
14+
# pull_request:
15+
# branches: [ "main" ]
1316

1417
env:
1518
# Use docker.io for Docker Hub if empty
@@ -108,8 +111,8 @@ jobs:
108111
# generate Docker tags based on the following events/attributes
109112
tags: |
110113
type=sha
111-
# type=raw,value={{branch}}-latest
112-
# type=raw,value={{branch}}-{{date 'YYYYMMDDHHmmss'}}
114+
type=raw,value={{branch}}-latest
115+
type=raw,value={{branch}}-{{date 'YYYYMMDDHHmmss'}}
113116
114117
# Build and push Docker image with Buildx
115118
# https://github.com/docker/build-push-action

0 commit comments

Comments
 (0)