-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (34 loc) · 1.12 KB
/
build-ubuntu-22.04-risc.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
name: Build Ubuntu 22.04 RISC Image
on:
push:
branches:
- main
paths:
- 'ubuntu-22.04-risc/*'
- '.github/workflows/build-ubuntu-22.04-risc.yml'
pull_request:
paths:
- 'ubuntu-22.04-risc/*'
- '.github/workflows/build-ubuntu-22.04-risc.yml'
workflow_dispatch:
schedule:
- cron: '30 12 * * 5'
concurrency:
# SHA is added to the end if on `main` to let all main workflows run
group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ github.ref == 'refs/heads/main' && github.sha || '' }}
cancel-in-progress: true
jobs:
build:
uses: Chia-Network/actions/.github/workflows/docker-build.yaml@main
with:
alternate-latest-mode: true
runs-on: k8s-public
timeout-minutes: 1440
docker-context: "./ubuntu-22.04-risc"
dockerfile: "./ubuntu-22.04-risc/Dockerfile"
dockerhub_imagename: "chianetwork/ubuntu-22.04-risc-builder"
docker-platforms: linux/riscv64
image_subpath: "ubuntu-22.04-risc-builder"
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PAT: ${{ secrets.DOCKERHUB_PAT }}