-
Notifications
You must be signed in to change notification settings - Fork 0
74 lines (64 loc) · 2.06 KB
/
build-arr.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
name: "Build ARR images"
on:
# push:
# branches: [ "main" ]
# paths:
# - 'build/arr/**'
workflow_dispatch:
env:
REGISTRY: ghcr.io
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
# This is used to complete the identity challenge
# with sigstore/fulcio when running outside of PRs.
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
# https://github.com/docker/login-action
- name: Log into registry ${{ env.REGISTRY }}
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
# TODO: Parallelize?
- name: Build Sonarr
uses: ./.github/actions/build-and-sign
with:
registry: ${{ env.REGISTRY }}
image: ${{ github.actor }}/sonarr
dockerfile: build/arr/sonarr.Dockerfile
context: build/arr
- name: Build Radarr
uses: ./.github/actions/build-and-sign
with:
registry: ${{ env.REGISTRY }}
image: ${{ github.actor }}/radarr
dockerfile: build/arr/radarr.Dockerfile
context: build/arr
- name: Build Lidarr
uses: ./.github/actions/build-and-sign
with:
registry: ${{ env.REGISTRY }}
image: ${{ github.actor }}/lidarr
dockerfile: build/arr/lidarr.Dockerfile
context: build/arr
- name: Build Readarr
uses: ./.github/actions/build-and-sign
with:
registry: ${{ env.REGISTRY }}
image: ${{ github.actor }}/readarr
dockerfile: build/arr/readarr.Dockerfile
context: build/arr
- name: Build Prowlarr
uses: ./.github/actions/build-and-sign
with:
registry: ${{ env.REGISTRY }}
image: ${{ github.actor }}/prowlarr
dockerfile: build/arr/prowlarr.Dockerfile
context: build/arr