-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: plex scan request if path contains '&' character
Autoscan format with black removed python2 support PLEX_CHECK_BEFORE_SCAN defaults to true. checks if plex media scanner is running before analyzing media file. Docker umask support bump rclone to 1.62.2 added more dockerfile labels cleaned up dockerfile Misc update github action workflow deps uses docker manifest allowing users to pull a latest tag across amd64 or aarch64. update README.md update CONTRIBUTING.md renamed LICENSE.md -> LICENSE
- Loading branch information
Showing
24 changed files
with
1,085 additions
and
846 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,57 +12,67 @@ jobs: | |
build-and-push-to-ghcr: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: benjlevesque/[email protected] | ||
- name: Get Short SHA | ||
uses: benjlevesque/[email protected] | ||
id: short-sha | ||
with: | ||
length: 7 | ||
- uses: actions/checkout@v2 | ||
- name: Log into GitHub Container Registry | ||
|
||
- name: Checkout | ||
uses: actions/[email protected] | ||
|
||
- name: Log into GHCR | ||
run: echo "${{ secrets.GIT_TOKEN }}" | docker login https://ghcr.io -u ${{ github.actor }} --password-stdin | ||
|
||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v1 | ||
uses: docker/setup-qemu-action@v2.1.0 | ||
with: | ||
image: tonistiigi/binfmt:latest | ||
platforms: all | ||
|
||
- name: Set up Docker Buildx | ||
id: buildx | ||
uses: docker/setup-buildx-action@v1 | ||
uses: docker/[email protected] | ||
with: | ||
install: true | ||
version: latest | ||
driver-opts: image=moby/buildkit:master | ||
|
||
- name: Build and push amd64 | ||
uses: docker/build-push-action@v4 | ||
with: | ||
context: ./ | ||
file: ./Dockerfile | ||
push: true | ||
provenance: false | ||
tags: | | ||
ghcr.io/${{ secrets.GIT_USER }}/autoscan:amd64 | ||
ghcr.io/${{ secrets.GIT_USER }}/autoscan:amd64_commit-${{ steps.short-sha.outputs.sha }} | ||
platforms: linux/amd64 | ||
build-args: | | ||
OVERLAY_ARCH=amd64 | ||
ARCH=amd64 | ||
- name: Build and push aarch64 | ||
id: docker_build_aarch64 | ||
uses: docker/build-push-action@v2 | ||
uses: docker/build-push-action@v4 | ||
with: | ||
context: ./ | ||
file: ./Dockerfile | ||
push: true | ||
provenance: false | ||
tags: | | ||
ghcr.io/niniyas/autoscan:arm64 | ||
ghcr.io/${{ secrets.GIT_USER }}/autoscan:arm64 | ||
ghcr.io/${{ secrets.GIT_USER }}/autoscan:arm64_commit-${{ steps.short-sha.outputs.sha }} | ||
platforms: linux/arm64 | ||
build-args: | | ||
OVERLAY_ARCH=aarch64 | ||
ARCH=arm64 | ||
- name: Build and push amd64 | ||
id: docker_build_amd64 | ||
uses: docker/build-push-action@v2 | ||
- name: Create and push manifest images | ||
uses: Noelware/docker-manifest-action@master | ||
with: | ||
context: ./ | ||
file: ./Dockerfile | ||
inputs: ghcr.io/${{ secrets.GIT_USER }}/autoscan:latest | ||
images: ghcr.io/${{ secrets.GIT_USER }}/autoscan:amd64,ghcr.io/${{ secrets.GIT_USER }}/autoscan:arm64 | ||
push: true | ||
tags: | | ||
ghcr.io/niniyas/autoscan:amd64 | ||
ghcr.io/${{ secrets.GIT_USER }}/autoscan:amd64_commit-${{ steps.short-sha.outputs.sha }} | ||
platforms: linux/amd64 | ||
build-args: | | ||
OVERLAY_ARCH=amd64 | ||
ARCH=amd64 | ||
|
||
- name: ntfy success notifications | ||
uses: niniyas/ntfy-action@master | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.