|
|
|
@ -8,27 +8,27 @@ on:
|
|
|
|
|
jobs:
|
|
|
|
|
semantic-release:
|
|
|
|
|
name: Tag and release latest version
|
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
|
|
runs-on: ubuntu-24.04
|
|
|
|
|
steps:
|
|
|
|
|
- name: Checkout
|
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
|
with:
|
|
|
|
|
fetch-depth: 0
|
|
|
|
|
- name: Set up Node.js
|
|
|
|
|
uses: actions/setup-node@v3
|
|
|
|
|
uses: actions/setup-node@v4
|
|
|
|
|
with:
|
|
|
|
|
node-version: 16
|
|
|
|
|
- name: Set up QEMU
|
|
|
|
|
uses: docker/setup-qemu-action@v2
|
|
|
|
|
uses: docker/setup-qemu-action@v3
|
|
|
|
|
- name: Set up Docker Buildx
|
|
|
|
|
uses: docker/setup-buildx-action@v2
|
|
|
|
|
uses: docker/setup-buildx-action@v3
|
|
|
|
|
- name: Log in to Docker Hub
|
|
|
|
|
uses: docker/login-action@v2
|
|
|
|
|
uses: docker/login-action@v3
|
|
|
|
|
with:
|
|
|
|
|
username: ${{ secrets.DOCKER_USERNAME }}
|
|
|
|
|
password: ${{ secrets.DOCKER_TOKEN }}
|
|
|
|
|
- name: Log in to GitHub Container Registry
|
|
|
|
|
uses: docker/login-action@v2
|
|
|
|
|
uses: docker/login-action@v3
|
|
|
|
|
with:
|
|
|
|
|
registry: ghcr.io
|
|
|
|
|
username: ${{ github.repository_owner }}
|
|
|
|
@ -45,7 +45,7 @@ jobs:
|
|
|
|
|
build-snap:
|
|
|
|
|
name: Build Snap Package (${{ matrix.architecture }})
|
|
|
|
|
needs: semantic-release
|
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
|
|
runs-on: ubuntu-24.04
|
|
|
|
|
strategy:
|
|
|
|
|
fail-fast: false
|
|
|
|
|
matrix:
|
|
|
|
@ -55,7 +55,7 @@ jobs:
|
|
|
|
|
- armhf
|
|
|
|
|
steps:
|
|
|
|
|
- name: Checkout Code
|
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
|
with:
|
|
|
|
|
fetch-depth: 0
|
|
|
|
|
- name: Switch to master branch
|
|
|
|
@ -72,7 +72,7 @@ jobs:
|
|
|
|
|
echo "RELEASE=edge" >> $GITHUB_OUTPUT
|
|
|
|
|
fi
|
|
|
|
|
- name: Set Up QEMU
|
|
|
|
|
uses: docker/setup-qemu-action@v2
|
|
|
|
|
uses: docker/setup-qemu-action@v3
|
|
|
|
|
with:
|
|
|
|
|
image: tonistiigi/binfmt@sha256:df15403e06a03c2f461c1f7938b171fda34a5849eb63a70e2a2109ed5a778bde
|
|
|
|
|
- name: Build Snap Package
|
|
|
|
@ -81,7 +81,7 @@ jobs:
|
|
|
|
|
with:
|
|
|
|
|
architecture: ${{ matrix.architecture }}
|
|
|
|
|
- name: Upload Snap Package
|
|
|
|
|
uses: actions/upload-artifact@v3
|
|
|
|
|
uses: actions/upload-artifact@v4
|
|
|
|
|
with:
|
|
|
|
|
name: overseerr-snap-package-${{ matrix.architecture }}
|
|
|
|
|
path: ${{ steps.build.outputs.snap }}
|
|
|
|
@ -101,7 +101,7 @@ jobs:
|
|
|
|
|
name: Send Discord Notification
|
|
|
|
|
needs: semantic-release
|
|
|
|
|
if: always()
|
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
|
|
runs-on: ubuntu-24.04
|
|
|
|
|
steps:
|
|
|
|
|
- name: Get Build Job Status
|
|
|
|
|
uses: technote-space/workflow-conclusion-action@v3
|
|
|
|
|