-
Notifications
You must be signed in to change notification settings - Fork 8
52 lines (42 loc) · 1.1 KB
/
dev.yml
File metadata and controls
52 lines (42 loc) · 1.1 KB
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
name: CI-development
on:
push:
branches-ignore:
- 'main'
- 'master'
paths-ignore:
- '**.md'
- 'extra/**'
- 'capture/**'
- 'ansible/**'
- 'dashboards/**'
- '.gitignore'
- 'LICENSE'
pull_request:
paths-ignore:
- '**.md'
- 'extra/**'
- 'capture/**'
- 'ansible/**'
- 'dashboards/**'
- 'scripts/**'
- '.gitignore'
- 'LICENSE'
env:
ghcr_repo_addr: ghcr.io/shayan-ghani/container-exporter:${{github.action}}-${{github.run_id}}
jobs:
build-and-check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: build and deploy
run: |
docker compose -f ./container-exporter-local.yml up --build -d
- name: check for metrics and overall api health
run: |
bash ./scripts/healthcheck-ci.sh