Skip to content

Commit

Permalink
ci: do not build and push Docker images on pull requests
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
qkaiser committed Jan 22, 2024
1 parent 5a75135 commit 38e4b93
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/build-publish-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ on:
push:
branches:
- main
pull_request:
branches:
- '**'

env:
DOCKER_IMAGE: ghcr.io/onekey-sec/unblob
Expand Down

0 comments on commit 38e4b93

Please sign in to comment.