-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (40 loc) · 1.12 KB
/
package.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
name: Package
on:
push:
branches:
- master
schedule:
- cron: '0 0 * * MON'
concurrency:
group: '${{ github.ref }}'
cancel-in-progress: true
jobs:
package:
name: Build and upload the image (${{ matrix.version }})
runs-on: ubuntu-22.04
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
version:
- latest
- '7.2'
- '7.0'
- '6.2'
steps:
- name: Prepare the virtual environment
uses: hausgold/actions/ci@master
with:
clone_token: '${{ secrets.CLONE_TOKEN }}'
settings_secret_key: '${{ secrets.SETTINGS_SECRET_KEY }}'
settings: '${{ github.repository }}'
target: ci/noop
- uses: actions/checkout@v4
- name: Configure IMAGE_REF
run: var IMAGE_REF '${{ matrix.version }}'
- name: Build the Docker image
run: make -C '${{ matrix.version }}' build
- name: Run the Smoke Test on the Docker image
run: make -C '${{ matrix.version }}' test
- name: Upload the Docker image
run: make -C '${{ matrix.version }}' publish