Skip to content

Build ARR images

Build ARR images #4

Workflow file for this run

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