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