-
-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (35 loc) · 890 Bytes
/
dev.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
name: dev
on:
push:
branches:
- feature/*
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 }}
platforms: linux/amd64
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
platforms: linux/amd64
build-args: |
VERSION=${{ needs.build-base.outputs.version }}
DISTRO=${{ matrix.os }}
secrets:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}