-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (43 loc) · 1.17 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
47
48
49
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
- '17.2'
- '17.1'
- '17.0'
- '16.6'
- '16.5'
- '16.4'
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