Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Officeyutong committed Oct 23, 2023
1 parent a9c432d commit 0c20184
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches: "master"
pull_request:
# Why wildcard? Because we want to see test results when examing prs from non-master branches..
branches: "master"

jobs:
Expand Down Expand Up @@ -36,7 +35,7 @@ jobs:
- name: Build image and push to GitHub Container Registry
uses: docker/build-push-action@v2
if: github.repository_owner == 'eunomia-bpf'
if: "github.repository_owner == 'eunomia-bpf' && !startsWith(github.ref, 'refs/pull/')"
with:
# relative path to the place where source code with Dockerfile is located
context: ./
Expand Down

0 comments on commit 0c20184

Please sign in to comment.