From 3899a68bf5d36e75460447c64002e522d8823d2d Mon Sep 17 00:00:00 2001 From: Sarapuce Date: Fri, 5 Jan 2024 14:29:19 +0100 Subject: [PATCH] feat(workflow): change file name --- .github/workflows/release.yaml | 9 +++++---- ...stom-falco-rules.yaml.yaml => custom_falco_rules.yaml | 0 2 files changed, 5 insertions(+), 4 deletions(-) rename cool-falco-rules/custom-falco-rules.yaml.yaml => custom_falco_rules.yaml (100%) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index e43b11c..d3ed6cc 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,18 +38,19 @@ jobs: working-directory: tools/falcoctl - name: Checkout Rules Repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: rules - name: Upload OCI artifacts to GitHub packages run: | + cd rules && \ tools/falcoctl/falcoctl registry push \ --config /dev/null \ --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