-
Notifications
You must be signed in to change notification settings - Fork 9
76 lines (74 loc) · 1.99 KB
/
pr.yaml
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
name: PR build
concurrency:
group: pr-${{ github.head_ref || github.ref }}-${{ github.repository }}
cancel-in-progress: true
on:
pull_request:
jobs:
build-arm64:
runs-on: ubuntu-latest
env:
ARCH: amd64
steps:
- uses: actions/checkout@v4
- run: |
git fetch --prune --unshallow
mkdir build
- name: Set up QEMU
uses: docker/setup-qemu-action@master
with:
platforms: all
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@master
- name: Download meta 🔧
uses: luet-lab/luet-github-action@master
with:
FINAL_REPO: quay.io/kairos/packages
REPOSITORY_TYPE: docker
downloadAllMeta: false
downloadFromList: true
downloadMeta: true
- name: Build packages 🔧
uses: luet-lab/luet-github-action@master
with:
build: true
fromIndex: true
onlyMissing: true
FINAL_REPO: quay.io/kairos/packages
DOCKER_USERNAME: ${{ secrets.QUAY_USERNAME }}
REPOSITORY_TYPE: docker
pushFinalImages: false
pushCache: false
values: values/arm64.yaml
buildx: true
platform: linux/arm64
build:
runs-on: ubuntu-latest
env:
ARCH: amd64
steps:
- uses: actions/checkout@v4
- run: |
git fetch --prune --unshallow
mkdir build
- name: Download meta 🔧
uses: luet-lab/luet-github-action@master
with:
FINAL_REPO: quay.io/kairos/packages
REPOSITORY_TYPE: docker
downloadAllMeta: false
downloadFromList: true
downloadMeta: true
- name: Build packages 🔧
uses: luet-lab/luet-github-action@master
with:
build: true
fromIndex: true
onlyMissing: true
FINAL_REPO: quay.io/kairos/packages
DOCKER_USERNAME: ${{ secrets.QUAY_USERNAME }}
REPOSITORY_TYPE: docker
pushFinalImages: false
pushCache: false
values: values/amd64.yaml