-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (43 loc) · 1.29 KB
/
build.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
50
name: Build
on:
push:
branches:
- main
paths:
- "dependency.repos"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
tool-cache: false
- name: Change data-dir
run: |
sudo systemctl stop docker
sudo rm -rf /var/lib/docker
sudo mkdir /mnt/docker
sudo ln -s /mnt/docker /var/lib/docker
sudo systemctl start docker
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Clone repositories
run: |
pip3 install vcstool
mkdir -p external
vcs import external < dependency.repos
vcs pull external
- name: Build and publish packages
uses: ForteFibre/fortefibre_github_action/create_debian_packages_batch@main
with:
s3_bucket: "fortefibre-apt"
s3_access_key_id: ${{ secrets.S3_KEY_ID }}
s3_access_key_secret: ${{ secrets.S3_KEY_SECRET }}
s3_endpoint: ${{ secrets.S3_ENDPOINT }}
gpg_private_key: ${{ secrets.GPG_KEY }}
gpg_fingerprint: 6FD24526DB354C619705230B69ACCD996E5940A7