Skip to content

Commit 38e4b93

Browse files
committed
ci: do not build and push Docker images on pull requests
Build the docker images only when pushing to main, there's no need to build those images in each and every pull request. Initial trigger for this was that dependabot does not possess the required privileges to push to our Docker registry, so there's no point building and pushing the image at that point.
1 parent 5a75135 commit 38e4b93

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

.github/workflows/build-publish-image.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ on:
44
push:
55
branches:
66
- main
7-
pull_request:
8-
branches:
9-
- '**'
107

118
env:
129
DOCKER_IMAGE: ghcr.io/onekey-sec/unblob

0 commit comments

Comments
 (0)