Skip to content

Commit

Permalink
different fixes post transfer to the falcosecurity org:
Browse files Browse the repository at this point in the history
- remove refs to falco-talon org
- remove refs to the issif dockerhub repo
- update the badges
- update the CI workflows for Dockerhub + ECR

Signed-off-by: Thomas Labarussias <[email protected]>
  • Loading branch information
Issif authored and poiana committed Oct 9, 2024
1 parent ba72b9e commit 2a3d5c9
Show file tree
Hide file tree
Showing 7 changed files with 89 additions and 57 deletions.
53 changes: 53 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<!-- Thanks for sending a pull request! Here are some tips for you:
1. If this is your first time, please read our contributor guidelines in the [CONTRIBUTING.md](https://github.com/falcosecurity/.github/blob/master/CONTRIBUTING.md) file and learn how to compile Falco from source [here](https://falco.org/docs/source).
2. Please label this pull request according to what type of issue you are addressing.
3. If the PR is unfinished while opening it specify a wip in the title before the actual title, for example, "wip: my awesome feature"
-->

**What type of PR is this?**

> Uncomment one (or more) `/kind <>` lines:
> /kind bug
> /kind cleanup
> /kind design
> /kind documentation
> /kind enhancement
> /kind failing-test
> /kind feature
<!--
Please remove the leading whitespace before the `/kind <>` you uncommented.
-->

**Any specific area of the project related to this PR?**

> Uncomment one (or more) `/area <>` lines:
> /area actionners
> /area build
> /area config
> /area context
> /area core
> /area notifiers
> /area ouputs
> /area rule-engine
<!--
Please remove the leading whitespace before the `/area <>` you uncommented.
-->

**What this PR does / Why we need it**:

**How to reproduce the issue**:

**Which issue(s) this PR fixes**:

<!--
Automatically closes linked issue when PR is merged.
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
If PR is `kind/failing-tests` or `kind/flaky-test`, please post the related issues/tests in a comment and do not use `Fixes`.
-->

**Special notes for your reviewer**:
49 changes: 0 additions & 49 deletions .github/workflows/charts.yml

This file was deleted.

24 changes: 23 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,30 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

# Push images to Dockerhub
- name: Run Mage
uses: magefile/mage-action@v3
with:
version: latest
args: push:images
args: push:images

# Push images to AWS Public ECR (TODO: move into to the mage file)
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2
with:
role-to-assume: arn:aws:iam::292999226676:role/github_actions-falco-talon-ecr
aws-region: us-east-1

- name: Login to Amazon ECR
id: login-ecr-public
uses: aws-actions/amazon-ecr-login@062b18b96a7aff071d4dc91bc00c4c1a7945b076 # v2.0.1
with:
registry-type: public

- run: |
docker push public.ecr.aws/falcosecurity/falco-talon:latest-amd64
docker push public.ecr.aws/falcosecurity/falco-talon:latest-arm64
docker push public.ecr.aws/falcosecurity/falco-talon:latest-armv7
docker manifest create --amend public.ecr.aws/falcosecurity/falco-talon:latest public.ecr.aws/falcosecurity/falco-talon:latest-amd64 \
public.ecr.aws/falcosecurity/falco-talon:latest-arm64 public.ecr.aws/falcosecurity/falco-talon:latest-armv7
docker manifest push --purge public.ecr.aws/falcosecurity/falco-talon:latest
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ builds:

kos:
- id: falco-talon
repository: issif/falco-talon
repository: falcosecurity/falco-talon
tags:
- '{{.Version}}'
- latest
Expand Down
2 changes: 1 addition & 1 deletion OWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ approvers:
- Issif
- IgorEulalio
- leogr
- cpanato
- cpanato
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
# Falco Talon

[![Falco Ecosystem Repository](https://github.com/falcosecurity/evolution/blob/main/repos/badges/falco-ecosystem-blue.svg)](https://github.com/falcosecurity/evolution/blob/main/REPOSITORIES.md#ecosystem-scope) [![Incubating](https://img.shields.io/badge/status-incubating-orange?style=for-the-badge)](https://github.com/falcosecurity/evolution/blob/main/REPOSITORIES.md#incubating)
[![Falco Ecosystem Repository](https://raw.githubusercontent.com/falcosecurity/evolution/refs/heads/main/repos/badges/falco-ecosystem-blue.svg)](https://github.com/falcosecurity/evolution/blob/main/REPOSITORIES.md#ecosystem-scope) [![Incubating](https://img.shields.io/badge/status-incubating-orange?style=for-the-badge)](https://github.com/falcosecurity/evolution/blob/main/REPOSITORIES.md#incubating)
[![Last Release](https://img.shields.io/github/v/release/falcosecurity/falco-talon?style=for-the-badge)](https://github.com/falcosecurity/falco-talon/releases/latest)

[![Latest](https://img.shields.io/github/v/release/falcosecurity/falco-talon?style=for-the-badge)](https://github.com/falcosecurity/falco-talon/releases/latest)
![last commit](https://img.shields.io/github/last-commit/falcosecurity/falco-talon?style=for-the-badge
)
![licence](https://img.shields.io/github/license/falcosecurity/falco-talon?style=for-the-badge
)
![docker pulls](https://img.shields.io/docker/pulls/falcosecurity/falco-talon?style=for-the-badge
)

`Falco Talon` is a Response Engine for managing threats in your Kubernetes. It enhances the solutions proposed by the Falco community with a no-code tailor made solution. With easy rules, you can react to `events` from [`Falco`](https://falco.org) in milliseconds.

Expand All @@ -29,7 +35,7 @@

## Architecture

`Falco Talon` can receive the `events` from [`Falco`](https://falco.org) or [`Falcosidekick`](https://github.com/falcosecurity/falcosidekick):
`Falco Talon` can receive the `events` from [`Falco`](https://falco.org) or [`Falcosidekick`](https://github.com/falcosecurity/falco-talon):

```mermaid
flowchart LR
Expand Down
4 changes: 2 additions & 2 deletions mageFile.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func (Build) Local() error {
// build:images builds images and not push
func (Build) Images() error {
exportLDFlags()
os.Setenv("KO_DOCKER_REPO", "issif/falco-talon")
os.Setenv("KO_DOCKER_REPO", "falcosecurity/falco-talon")

return sh.RunV("ko", "build", "--bare", "--sbom=none", "--tags", getVersion(), "--tags", getCommit(), "--tags", "latest",
repoURL)
Expand All @@ -75,7 +75,7 @@ func (Build) Images() error {
// push:images pushes the images to dockerhub
func (Push) Images() error {
mg.Deps(Build.Images)
os.Setenv("KO_DOCKER_REPO", "issif/falco-talon")
os.Setenv("KO_DOCKER_REPO", "falcosecurity/falco-talon")

return sh.RunV("ko", "build", "--bare", "--sbom=none", "--tags", getVersion(), "--tags", getCommit(), "--tags", "latest",
repoURL)
Expand Down

0 comments on commit 2a3d5c9

Please sign in to comment.