mirror of
https://github.com/falcosecurity/falco.git
synced 2026-04-10 22:13:48 +00:00
Renamed `dev.yaml` to `master.yaml`. Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
67 lines
1.9 KiB
YAML
67 lines
1.9 KiB
YAML
name: Release Packages and Docker images
|
|
on:
|
|
push:
|
|
tags:
|
|
- '[0-9]+.[0-9]+.[0-9]+'
|
|
|
|
# Checks if any concurrent jobs under the same pull request or branch are being executed
|
|
concurrency:
|
|
group: ci-release
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build-packages:
|
|
uses: falcosecurity/falco/.github/workflows/reusable_build_packages.yaml@main
|
|
with:
|
|
arch: x86_64
|
|
secrets: inherit
|
|
|
|
build-packages-arm64:
|
|
uses: falcosecurity/falco/.github/workflows/reusable_build_packages.yaml@main
|
|
with:
|
|
arch: aarch64
|
|
secrets: inherit
|
|
|
|
publish-packages:
|
|
needs: [build-packages, build-packages-arm64]
|
|
outputs:
|
|
version: ${{ steps.expose_version.outputs.version }}
|
|
|
|
steps:
|
|
- name: Publish packages
|
|
uses: falcosecurity/falco/.github/workflows/reusable_publish_packages.yaml@main
|
|
with:
|
|
version: ${{ needs.build-packages.outputs.version }}
|
|
secrets: inherit
|
|
|
|
- name: Expose FALCO_VERSION
|
|
id: expose_version
|
|
run: |
|
|
echo "version=${{ needs.build-packages.outputs.version }}" >> $GITHUB_OUTPUT
|
|
|
|
build-docker:
|
|
needs: publish-packages
|
|
uses: falcosecurity/falco/.github/workflows/reusable_build_docker.yaml@main
|
|
with:
|
|
arch: x86_64
|
|
tagname: ${{ github.ref_name }}
|
|
version: ${{ needs.publish-packages.outputs.version }}
|
|
secrets: inherit
|
|
|
|
build-docker-arm64:
|
|
needs: publish-dev-packages
|
|
uses: falcosecurity/falco/.github/workflows/reusable_build_docker.yaml@main
|
|
with:
|
|
arch: aarch64
|
|
tagname: ${{ github.ref_name }}
|
|
version: ${{ needs.publish-packages.outputs.version }}
|
|
secrets: inherit
|
|
|
|
publish-docker:
|
|
needs: [build-docker, build-docker-arm64]
|
|
uses: falcosecurity/falco/.github/workflows/reusable_publish_docker.yaml@main
|
|
with:
|
|
tagname: ${{ github.ref_name }}
|
|
secrets: inherit
|
|
|