forked from 5GSEC/SentryFlow
-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (45 loc) · 1.25 KB
/
stable-release.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# SPDX-License-Identifier: Apache-2.0
# Copyright 2024 Authors of SentryFlow
name: Stable release
on:
create:
tags:
- "v*"
permissions: read-all
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
files-changed:
name: Find out which files were changed
runs-on: ubuntu-latest
timeout-minutes: 5
outputs:
sentryflow: ${{ steps.filter.outputs.sentryflow}}
envoyfilter: ${{ steps.filter.outputs.envoyfilter}}
steps:
- uses: actions/checkout@v4
- uses: dorny/[email protected]
id: filter
with:
filters: |
sentryflow:
- 'sentryflow/**'
envoyfilter:
- 'filter/envoy/envoy-wasm-filters/**'
release-sentryflow-image:
needs: [ files-changed ]
name: Build and push sentryflow image
uses: ./.github/workflows/release-image.yaml
with:
WORKING_DIRECTORY: ./sentryflow
NAME: sentryflow
secrets: inherit
release-envoy-filter-image:
needs: [ files-changed ]
name: Build and push envoyfilter's image
uses: ./.github/workflows/release-image.yaml
with:
WORKING_DIRECTORY: filter/envoy/envoy-wasm-filters
NAME: sentryflow-filter
secrets: inherit