Skip to content

Commit

Permalink
Avoid building containers on BB repo push if branch is not DEV/MAIN
Browse files Browse the repository at this point in the history
  • Loading branch information
RazvanLiviuVarzaru committed Jan 7, 2025
1 parent 9aa4446 commit afedd8f
Show file tree
Hide file tree
Showing 11 changed files with 33 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/bbw_build_container_rhel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: bbw-build-container-rhel

on:
push:
branches:
- 'main'
- 'dev'
paths:
- 'ci_build_images/buildbot-worker.Dockerfile'
- .github/workflows/bbw_build_container_rhel.yml
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build-centos.pip-based.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Build CentOS:pip based images

on:
push:
branches:
- 'main'
- 'dev'
paths:
- 'ci_build_images/centos.Dockerfile'
- 'ci_build_images/pip.Dockerfile'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build-container-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Build container release

on:
push:
branches:
- 'main'
- 'dev'
paths:
- 'ci_build_images/debian-release.Dockerfile'
- 'ci_build_images/buildbot-worker.Dockerfile'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build-debian-based.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Build Debian based images

on:
push:
branches:
- 'main'
- 'dev'
paths:
- 'ci_build_images/debian.Dockerfile'
- 'ci_build_images/qpress.Dockerfile'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build-debian.aocc-based.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Build Debian:aocc based images

on:
push:
branches:
- 'main'
- 'dev'
paths:
- 'ci_build_images/debian.Dockerfile'
- 'ci_build_images/aocc.Dockerfile'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build-debian.jepsen-based.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Build Debian:jepsen based images

on:
push:
branches:
- 'main'
- 'dev'
paths:
- 'ci_build_images/debian.Dockerfile'
- 'ci_build_images/jepsen-mariadb.Dockerfile'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build-debian.msan-based.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Build Debian:msan based images

on:
push:
branches:
- 'main'
- 'dev'
paths:
- 'ci_build_images/debian.Dockerfile'
- 'ci_build_images/msan.Dockerfile'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build-fedora-based.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Build Fedora based images

on:
push:
branches:
- 'main'
- 'dev'
paths:
- 'ci_build_images/fedora.Dockerfile'
- 'ci_build_images/qpress.Dockerfile'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build-opensuse.pip-based.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Build OpenSUSE:pip based images

on:
push:
branches:
- 'main'
- 'dev'
paths:
- 'ci_build_images/opensuse.Dockerfile'
- 'ci_build_images/pip.Dockerfile'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build-sles.pip-based.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Build SLES:pip based images

on:
push:
branches:
- 'main'
- 'dev'
paths:
- 'ci_build_images/sles.Dockerfile'
- 'ci_build_images/pip.Dockerfile'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/eco_containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: eco container build

on:
push:
branches:
- 'main'
- 'dev'
paths:
- .github/workflows/eco_containers.yml
- "eco_build_images/**"
Expand Down

0 comments on commit afedd8f

Please sign in to comment.