Skip to content

Commit

Permalink
feat(workflow): change file name
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarapuce committed Jan 5, 2024
1 parent cba6c46 commit 3408ae6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -21,7 +21,7 @@ jobs:

steps:
- name: Checkout Falcoctl Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: falcosecurity/falcoctl
ref: main
Expand All @@ -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: |
tools/falcoctl/falcoctl registry push \
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 }}
File renamed without changes.

0 comments on commit 3408ae6

Please sign in to comment.