-
Notifications
You must be signed in to change notification settings - Fork 3
54 lines (50 loc) · 1.15 KB
/
build-test.yml
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
53
54
name: integration testing
on:
pull_request:
branches:
- main
paths-ignore:
- "**.md"
merge_group:
push:
branches:
- main
paths-ignore:
- "**.md"
workflow_dispatch:
jobs:
push-ghcr:
name: Build and test image
runs-on: ubuntu-24.04
permissions:
contents: read
packages: write
id-token: write
strategy:
fail-fast: false
matrix:
major_version: [40, 41]
include:
- major_version: 40
is_latest_version: false
is_stable_version: true
- major_version: 41
is_latest_version: true
is_stable_version: false
steps:
# Checkout push-to-registry action GitHub repository
- name: Checkout Push to Registry action
uses: actions/checkout@v4
- name: Install Deps
run: |
sudo apt-get install just podman
- name: Build Image
id: build_image
env:
FEDORA_MAJOR_VERSION: ${{ matrix.major_version }}
run: |
just container-build
- name: Test Image
id: test_image
run: |
just container-test