diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index e43b11c..e4960ee 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -11,7 +11,7 @@ jobs: packages: write env: - RULESET_FILE: nsenter.yaml + RULESET_FILE: custom_falco_rules.yaml # Used to setup Auth and OCI artifact location OCI_REGISTRY: ghcr.io # Assuming we are in the main branch, our OCI artifact will @@ -21,7 +21,7 @@ jobs: steps: - name: Checkout Falcoctl Repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: falcosecurity/falcoctl ref: main @@ -38,9 +38,7 @@ jobs: working-directory: tools/falcoctl - name: Checkout Rules Repo - uses: actions/checkout@v3 - with: - path: rules + uses: actions/checkout@v4 - name: Upload OCI artifacts to GitHub packages run: | @@ -49,7 +47,7 @@ jobs: --type rulesfile \ --version ${OCI_ARTIFACT_VERSION} \ ${OCI_REGISTRY}/${GITHUB_REPOSITORY}/${OCI_ARTIFACT_NAME}:${OCI_ARTIFACT_VERSION} \ - rules/${RULESET_FILE} + ${RULESET_FILE} env: FALCOCTL_REGISTRY_AUTH_BASIC: ${{ env.OCI_REGISTRY }},${{ github.repository_owner }},${{ secrets.GITHUB_TOKEN }} diff --git a/cool-falco-rules/custom-falco-rules.yaml.yaml b/custom_falco_rules.yaml similarity index 100% rename from cool-falco-rules/custom-falco-rules.yaml.yaml rename to custom_falco_rules.yaml