Skip to content

Fully autonomous AI Agents system capable of performing complex penetration testing tasks

ci: update CI workflow to use 'main' branch instead of 'master' for build triggers

Dmitry Ng2ec8ef3d9b07
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 7931fb0e..41979f2a 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -134,7 +134,7 @@ jobs:
docker-build:
needs: lint-and-test
- if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v')
+ if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
steps:
- name: Checkout
@@ -193,8 +193,8 @@ jobs:
with:
images: vxcontrol/pentagi
tags: |
- # For master branch - latest tag
- type=raw,value=latest,enable=${{ github.ref == 'refs/heads/master' }}
+ # For main branch - latest tag
+ type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }}
# For release builds only - tag with major, minor and patch versions
type=raw,value=${{ steps.version.outputs.major }},enable=${{ steps.version.outputs.is_release == 'true' }}
type=raw,value=${{ steps.version.outputs.minor }},enable=${{ steps.version.outputs.is_release == 'true' }}