-
-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (33 loc) · 826 Bytes
/
ci.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
name: ci
on:
push:
branches:
- main
jobs:
build-base:
uses: ./.github/workflows/_build.yml
strategy:
matrix:
os: [ubuntu, fedora]
with:
image: ${{ github.actor }}/runner-krunvm-base-${{ matrix.os }}
file: Dockerfile.base.${{ matrix.os }}
secrets:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
build-main:
needs:
- build-base
uses: ./.github/workflows/_build.yml
strategy:
matrix:
os: [ubuntu, fedora]
with:
image: ${{ github.actor }}/runner-krunvm-${{ matrix.os }}
file: Dockerfile
build-args: |
VERSION=${{ needs.build-base.outputs.version }}
DISTRO=${{ matrix.os }}
secrets:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}