Skip to content

Commit 8be77d4

Browse files
authored
ignore .md files update in action triggers (#270)
1 parent c2f586c commit 8be77d4

File tree

6 files changed

+280
-5
lines changed

6 files changed

+280
-5
lines changed

.github/workflows/codeql.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,17 @@ name: scan-codeql-workflow
22

33
on:
44
push:
5-
branches: [ "main" ]
5+
branches: [ "main", "dev" ]
6+
paths-ignore:
7+
- 'docs/**'
8+
- '*.md'
69
pull_request:
7-
branches: [ "main" ]
10+
branches: [ "main", "dev" ]
11+
paths-ignore:
12+
- 'docs/**'
13+
- '*.md'
14+
schedule:
15+
- cron: '0 18 * * 1-5'
816

917
env:
1018
BUILD_TYPE: Release

.github/workflows/ubuntu-build.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,15 @@ name: build-baremetal-ubuntu
22

33
on:
44
push:
5-
branches: [ "main" ]
5+
paths-ignore:
6+
- 'docs/**'
7+
- '*.md'
8+
branches: [ "main", "dev", "maint-*" ]
69
pull_request:
7-
branches: [ "main" ]
8-
workflow_dispatch:
10+
branches: [ "main", "dev", "maint-*" ]
11+
paths-ignore:
12+
- 'docs/**'
13+
- '/*.md'
914

1015
env:
1116
BUILD_TYPE: Release
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Build FFmpeg Dockerfile Ubuntu
2+
3+
on:
4+
pull_request:
5+
branches: [ "main", "dev", "maint-*" ]
6+
paths-ignore:
7+
- 'docs/**'
8+
- '*.md'
9+
10+
permissions:
11+
contents: read
12+
13+
env:
14+
BUILD_TYPE: "Release"
15+
DOCKER_IMAGE_BASE: "ghcr.io/openvisualcloud/media-communications-mesh"
16+
DOCKER_IMAGE_TAG: "${{ github.sha }}"
17+
18+
jobs:
19+
docker:
20+
runs-on: ubuntu-22.04
21+
timeout-minutes: 60
22+
permissions:
23+
contents: read
24+
steps:
25+
- name: Harden Runner
26+
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
27+
with:
28+
egress-policy: audit
29+
30+
- name: Checkout
31+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
32+
33+
- name: Set up Docker Buildx
34+
uses: docker/setup-buildx-action@4fd812986e6c8c2a69e18311145f9371337f27d4 # v3.4.0
35+
with:
36+
buildkitd-flags: --debug
37+
38+
- name: Build and push ffmpeg and plugins
39+
uses: docker/build-push-action@1a162644f9a7e87d8f4b053101d1d9a712edc18c # v6.3.0
40+
with:
41+
file: ffmpeg-plugin/Dockerfile
42+
allow: network.host
43+
context: .
44+
push: false
45+
tags: "${{ env.DOCKER_IMAGE_BASE }}/ffmpeg:${{ env.DOCKER_IMAGE_TAG }}"
46+
cache-from: type=registry,ref=${{ env.DOCKER_IMAGE_BASE }}/ffmpeg:buildcache
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Build media-proxy Dockerfile Ubuntu
2+
3+
on:
4+
pull_request:
5+
branches: [ "main", "dev", "maint-*" ]
6+
paths-ignore:
7+
- 'docs/**'
8+
- '*.md'
9+
permissions:
10+
contents: read
11+
12+
env:
13+
BUILD_TYPE: "Release"
14+
DOCKER_IMAGE_BASE: "ghcr.io/openvisualcloud/media-communications-mesh"
15+
DOCKER_IMAGE_TAG: "${{ github.sha }}"
16+
17+
jobs:
18+
docker:
19+
runs-on: ubuntu-22.04
20+
timeout-minutes: 60
21+
steps:
22+
- name: Harden Runner
23+
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
24+
with:
25+
egress-policy: audit
26+
27+
- name: Checkout
28+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
29+
30+
- name: Set up Docker Buildx
31+
uses: docker/setup-buildx-action@4fd812986e6c8c2a69e18311145f9371337f27d4 # v3.4.0
32+
with:
33+
buildkitd-flags: --debug
34+
35+
- name: Build and push media proxy application
36+
uses: docker/build-push-action@1a162644f9a7e87d8f4b053101d1d9a712edc18c # v6.3.0
37+
with:
38+
file: media-proxy/Dockerfile
39+
allow: network.host
40+
context: .
41+
push: false
42+
tags: "${{ env.DOCKER_IMAGE_BASE }}/media-proxy:${{ env.DOCKER_IMAGE_TAG }}"
43+
cache-from: type=registry,ref=${{ env.DOCKER_IMAGE_BASE }}/media-proxy:buildcache
Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
name: docker-publish
2+
3+
on:
4+
push:
5+
branches: [ "main", "maint-*" ]
6+
paths-ignore:
7+
- 'docs/**'
8+
- '*.md'
9+
permissions:
10+
contents: read
11+
12+
env:
13+
BUILD_TYPE: "Release"
14+
DOCKER_IMAGE_BASE: "ghcr.io/openvisualcloud/media-communications-mesh"
15+
DOCKER_IMAGE_TAG: "${{ github.sha }}"
16+
17+
jobs:
18+
docker-publish-sdk:
19+
name: "Publish Intel® Media Communications Mesh SDK"
20+
runs-on: ubuntu-22.04
21+
if: github.repository == 'openvisualcloud/media-communications-mesh'
22+
permissions:
23+
packages: write
24+
timeout-minutes: 120
25+
steps:
26+
- name: Harden Runner
27+
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
28+
with:
29+
egress-policy: audit
30+
31+
- name: Checkout
32+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
33+
34+
- name: Set up Docker Buildx
35+
uses: docker/setup-buildx-action@4fd812986e6c8c2a69e18311145f9371337f27d4 # v3.4.0
36+
with:
37+
buildkitd-flags: --debug
38+
39+
- name: Login to GitHub Container Registry
40+
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
41+
with:
42+
registry: ghcr.io
43+
username: ${{ secrets.ACTION_DOCKER_REGISTRY_LOGIN_USER }}
44+
password: ${{ secrets.ACTION_DOCKER_REGISTRY_LOGIN_KEY }}
45+
46+
- name: Build and publish SDK sample apps
47+
uses: docker/build-push-action@1a162644f9a7e87d8f4b053101d1d9a712edc18c # v6.3.0
48+
with:
49+
file: sdk/Dockerfile
50+
tags: "${{ env.DOCKER_IMAGE_BASE }}/sdk:${{ env.DOCKER_IMAGE_TAG }}"
51+
context: .
52+
push: true
53+
cache-from: type=registry,ref=${{ env.DOCKER_IMAGE_BASE }}/sdk:buildcache
54+
cache-to: type=registry,ref=${{ env.DOCKER_IMAGE_BASE }}/sdk:buildcache,mode=max
55+
56+
docker-publish-ffmpeg:
57+
name: "Publish Intel® Media Communications Mesh FFmpeg"
58+
runs-on: ubuntu-22.04
59+
if: github.repository == 'openvisualcloud/media-communications-mesh'
60+
permissions:
61+
packages: write
62+
timeout-minutes: 120
63+
steps:
64+
- name: Harden Runner
65+
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
66+
with:
67+
egress-policy: audit
68+
69+
- name: Checkout
70+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
71+
72+
- name: Set up Docker Buildx
73+
uses: docker/setup-buildx-action@4fd812986e6c8c2a69e18311145f9371337f27d4 # v3.4.0
74+
with:
75+
buildkitd-flags: --debug
76+
77+
- name: Login to GitHub Container Registry
78+
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
79+
with:
80+
registry: ghcr.io
81+
username: ${{ secrets.ACTION_DOCKER_REGISTRY_LOGIN_USER }}
82+
password: ${{ secrets.ACTION_DOCKER_REGISTRY_LOGIN_KEY }}
83+
84+
- name: Build and publish ffmpeg and plugins
85+
uses: docker/build-push-action@1a162644f9a7e87d8f4b053101d1d9a712edc18c # v6.3.0
86+
with:
87+
file: ffmpeg-plugin/Dockerfile
88+
tags: "${{ env.DOCKER_IMAGE_BASE }}/ffmpeg:${{ env.DOCKER_IMAGE_TAG }}"
89+
context: .
90+
push: true
91+
cache-from: type=registry,ref=${{ env.DOCKER_IMAGE_BASE }}/ffmpeg:buildcache
92+
cache-to: type=registry,ref=${{ env.DOCKER_IMAGE_BASE }}/ffmpeg:buildcache,mode=max
93+
94+
docker-publish-media-proxy:
95+
name: "Publish Intel® Media Communications Mesh media-proxy"
96+
runs-on: ubuntu-22.04
97+
if: github.repository == 'openvisualcloud/media-communications-mesh'
98+
permissions:
99+
packages: write
100+
timeout-minutes: 120
101+
steps:
102+
- name: Harden Runner
103+
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
104+
with:
105+
egress-policy: audit
106+
107+
- name: Checkout
108+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
109+
110+
- name: Set up Docker Buildx
111+
uses: docker/setup-buildx-action@4fd812986e6c8c2a69e18311145f9371337f27d4 # v3.4.0
112+
with:
113+
buildkitd-flags: --debug
114+
115+
- name: Login to GitHub Container Registry
116+
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
117+
with:
118+
registry: ghcr.io
119+
username: ${{ secrets.ACTION_DOCKER_REGISTRY_LOGIN_USER }}
120+
password: ${{ secrets.ACTION_DOCKER_REGISTRY_LOGIN_KEY }}
121+
122+
- name: Build and publish media proxy application
123+
uses: docker/build-push-action@1a162644f9a7e87d8f4b053101d1d9a712edc18c # v6.3.0
124+
with:
125+
file: media-proxy/Dockerfile
126+
tags: "${{ env.DOCKER_IMAGE_BASE }}/media-proxy:${{ env.DOCKER_IMAGE_TAG }}"
127+
context: .
128+
push: true
129+
cache-from: type=registry,ref=${{ env.DOCKER_IMAGE_BASE }}/media-proxy:buildcache
130+
cache-to: type=registry,ref=${{ env.DOCKER_IMAGE_BASE }}/media-proxy:buildcache,mode=max
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Build SDK Dockerfile Ubuntu
2+
3+
on:
4+
pull_request:
5+
branches: [ "main", "dev", "maint-*" ]
6+
paths-ignore:
7+
- 'docs/**'
8+
- '*.md'
9+
permissions:
10+
contents: read
11+
12+
env:
13+
BUILD_TYPE: "Release"
14+
DOCKER_IMAGE_BASE: "ghcr.io/openvisualcloud/media-communications-mesh"
15+
DOCKER_IMAGE_TAG: "${{ github.sha }}"
16+
17+
jobs:
18+
docker:
19+
runs-on: ubuntu-22.04
20+
timeout-minutes: 60
21+
steps:
22+
- name: Harden Runner
23+
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
24+
with:
25+
egress-policy: audit
26+
27+
- name: Checkout
28+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
29+
30+
- name: Set up Docker Buildx
31+
uses: docker/setup-buildx-action@4fd812986e6c8c2a69e18311145f9371337f27d4 # v3.4.0
32+
with:
33+
buildkitd-flags: --debug
34+
35+
- name: Build and push SDK sample apps
36+
uses: docker/build-push-action@1a162644f9a7e87d8f4b053101d1d9a712edc18c # v6.3.0
37+
with:
38+
file: sdk/Dockerfile
39+
allow: network.host
40+
context: .
41+
push: false
42+
tags: "${{ env.DOCKER_IMAGE_BASE }}/sdk:${{ env.DOCKER_IMAGE_TAG }}"
43+
cache-from: type=registry,ref=${{ env.DOCKER_IMAGE_BASE }}/sdk:buildcache

0 commit comments

Comments
 (0)