From 6ad09fdb97d37a8a20c947d24612b3afc9597211 Mon Sep 17 00:00:00 2001 From: Phil Jaenke Date: Thu, 27 Apr 2023 07:56:32 -0400 Subject: [PATCH] Devel/04232023 workflow (#54) SQUISH. --- ...build_release.yml => build_release.yml.no} | 0 .github/workflows/ci_check.yml | 66 ++++++++++--- .github/workflows/ci_release.yml | 95 +++++++++++++++++++ .github/workflows/linter.yml | 29 ++++++ .github/workflows/merge_check.yml | 70 +------------- .../{tc_docker.yml => tc_docker.yml.no} | 0 .../workflows/{tc_mono.yml => tc_mono.yml.no} | 0 README.md | 14 +-- ci/hooks/pre_build | 8 +- container/tc_bazarr/Dockerfile | 28 +++--- container/tc_docker/Dockerfile | 20 ++-- container/tc_frontend/Dockerfile | 24 ++--- container/tc_lidarr/Dockerfile | 24 ++--- container/tc_mylar/Dockerfile | 24 ++--- container/tc_nzbget/Dockerfile | 24 ++--- container/tc_prowlarr/Dockerfile | 26 ++--- container/tc_qbittorrent/Dockerfile | 22 ++--- container/tc_radarr/Dockerfile | 24 ++--- container/tc_readarr/Dockerfile | 24 ++--- container/tc_sonarr/Dockerfile | 24 ++--- .../tc_sonarr/application/build/20.sonarr.sh | 20 +++- .../tc_sonarr/application/sonarr.version | 2 +- container/tc_transmission/Dockerfile | 26 ++--- 23 files changed, 319 insertions(+), 275 deletions(-) rename .github/workflows/{build_release.yml => build_release.yml.no} (100%) create mode 100644 .github/workflows/ci_release.yml create mode 100644 .github/workflows/linter.yml rename .github/workflows/{tc_docker.yml => tc_docker.yml.no} (100%) rename .github/workflows/{tc_mono.yml => tc_mono.yml.no} (100%) diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml.no similarity index 100% rename from .github/workflows/build_release.yml rename to .github/workflows/build_release.yml.no diff --git a/.github/workflows/ci_check.yml b/.github/workflows/ci_check.yml index b8a7799..102f8c4 100644 --- a/.github/workflows/ci_check.yml +++ b/.github/workflows/ci_check.yml @@ -4,7 +4,7 @@ on: branches: - devel/* paths: - - container/** + - ci/** - container/** workflow_dispatch: @@ -14,11 +14,12 @@ jobs: ############################################################ tc_docker: name: "Development Build - tc_docker" - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: matrix: container: [ tc_docker ] env: + BRANCH: devel CONTAINER: ${{ matrix.container }} steps: - name: Check out from ${{ github.ref }} @@ -28,15 +29,48 @@ jobs: id: hooks run: | $GITHUB_WORKSPACE/ci/hooks/pre_build - - name: Set tag - id: tag + - name: Setup qemu environment + uses: docker/setup-qemu-action@v2 + - name: Setup buildx environment + uses: docker/setup-buildx-action@v2 + - name: Log into ghcr.io + id: docker_login + uses: docker/login-action@v2 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: Build ${{ matrix.container }} + id: docker_push + uses: docker/build-push-action@v3 + with: + context: container/${{ matrix.container }} + platforms: linux/amd64, linux/aarch64 + tags: ghcr.io/rootwyrm/${{ matrix.container }}:devel + pull: true + push: true + ############################################################ + # Services + ############################################################ + tc_services: + name: "Development Build - ${{ matrix.container }}" + runs-on: ubuntu-22.04 + needs: tc_docker + strategy: + matrix: + container: [ tc_frontend, tc_nzbget, tc_qbittorrent, tc_lidarr, tc_radarr, tc_prowlarr, tc_mylar, tc_readarr, tc_sonarr ] + env: + BRANCH: devel + TALECASTER_BASE: devel + CONTAINER: ${{ matrix.container }} + steps: + - name: Check out from ${{ github.ref }} + id: checkout + uses: actions/checkout@v3 + - name: Run pre-build hooks + id: hooks run: | - VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,') - [[ "${{ github.ref }} == "refs/tags/*" ]] && VERSION=$(echo $VERSION | sed -e 's/^v//') - [ "$VERSION" == "main" ] && VERSION="latest" - [ "$VERSION" == "latest" ] && VERSION="latest" - [ "$VERSION" == "devel" ] && VERSION="devel" - echo "::set-output name=VERSION::$(echo $VERSION)" + $GITHUB_WORKSPACE/ci/hooks/pre_build - name: Setup qemu environment uses: docker/setup-qemu-action@v2 - name: Setup buildx environment @@ -46,10 +80,16 @@ jobs: uses: docker/login-action@v2 with: registry: ghcr.io - username: ${{ secrets.GHCR_USER }} - password: ${{ secrets.GHCR_TOKEN }} + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Build ${{ matrix.container }} id: docker_push uses: docker/build-push-action@v3 with: - tags: rootwyrm/${{ matrix.container }}:${{ steps.tag.outputs.VERSION }} + context: container/${{ matrix.container }} + platforms: linux/amd64, linux/aarch64 + tags: ghcr.io/rootwyrm/${{ matrix.container }}:${{ env.TALECASTER_BASE }} + build-args: | + TALECASTER_BASE=${{ env.TALECASTER_BASE }} + pull: true + push: true diff --git a/.github/workflows/ci_release.yml b/.github/workflows/ci_release.yml new file mode 100644 index 0000000..c9cd15c --- /dev/null +++ b/.github/workflows/ci_release.yml @@ -0,0 +1,95 @@ +name: "CICD - Release" +on: + push: + branches: + - latest + paths: + - ci/** + - container/** + workflow_dispatch: + +jobs: + ############################################################ + # Base Image Check + ############################################################ + tc_docker: + name: "Release Build - tc_docker" + runs-on: ubuntu-22.04 + strategy: + matrix: + container: [ tc_docker ] + env: + BRANCH: latest + CONTAINER: ${{ matrix.container }} + steps: + - name: Check out from ${{ github.ref }} + id: checkout + uses: actions/checkout@v3 + - name: Run pre-build hooks + id: hooks + run: | + $GITHUB_WORKSPACE/ci/hooks/pre_build + - name: Setup qemu environment + uses: docker/setup-qemu-action@v2 + - name: Setup buildx environment + uses: docker/setup-buildx-action@v2 + - name: Log into ghcr.io + id: docker_login + uses: docker/login-action@v2 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: Build ${{ matrix.container }} + id: docker_push + uses: docker/build-push-action@v3 + with: + context: container/${{ matrix.container }} + platforms: linux/amd64, linux/aarch64 + tags: ghcr.io/rootwyrm/${{ matrix.container }}:devel + pull: true + push: true + ############################################################ + # Services + ############################################################ + tc_services: + name: "Release Build - ${{ matrix.container }}" + runs-on: ubuntu-22.04 + needs: tc_docker + strategy: + matrix: + container: [ tc_frontend, tc_nzbget, tc_qbittorrent, tc_lidarr, tc_radarr, tc_prowlarr, tc_mylar, tc_readarr, tc_sonarr ] + env: + BRANCH: devel + TALECASTER_BASE: devel + CONTAINER: ${{ matrix.container }} + steps: + - name: Check out from ${{ github.ref }} + id: checkout + uses: actions/checkout@v3 + - name: Run pre-build hooks + id: hooks + run: | + $GITHUB_WORKSPACE/ci/hooks/pre_build + - name: Setup qemu environment + uses: docker/setup-qemu-action@v2 + - name: Setup buildx environment + uses: docker/setup-buildx-action@v2 + - name: Log into ghcr.io + id: docker_login + uses: docker/login-action@v2 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: Build ${{ matrix.container }} + id: docker_push + uses: docker/build-push-action@v3 + with: + context: container/${{ matrix.container }} + platforms: linux/amd64, linux/aarch64 + tags: ghcr.io/rootwyrm/${{ matrix.container }}:${{ env.TALECASTER_BASE }} + build-args: | + TALECASTER_BASE=${{ env.TALECASTER_BASE }} + pull: true + push: true diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml new file mode 100644 index 0000000..671ac53 --- /dev/null +++ b/.github/workflows/linter.yml @@ -0,0 +1,29 @@ +name: CICD - Dockerfile Linter +on: + push: + paths: + - container/** + pull_request: + paths: + - container/** + workflow_dispatch: + workflow_call: + +jobs: + ############################################################ + # Linter + ############################################################ + linter: + strategy: + matrix: + lint: [ ./tc_bazarr/Dockerfile, ./tc_docker/Dockerfile, ./tc_frontend/Dockerfile, ./tc_lidarr/Dockerfile, ./tc_mylar/Dockerfile, ./tc_nzbget/Dockerfile, ./tc_prowlarr/Dockerfile, ./tc_qbittorrent/Dockerfile, ./tc_radarr/Dockerfile, ./tc_readarr/Dockerfile, ./tc_sonarr/Dockerfile ] + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@master + - name: lint + uses: luke142367/Docker-Lint-Action@master + with: + target: ${{ matrix.lint }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/merge_check.yml b/.github/workflows/merge_check.yml index b0eead9..736b96f 100644 --- a/.github/workflows/merge_check.yml +++ b/.github/workflows/merge_check.yml @@ -6,20 +6,20 @@ # Licensed under CC-BY-NC-4.0 # See /LICENSE for details ################################################################################ -name: CICD - Pull Request Validator +name: CICD - Linter on: pull_request: branches: - latest + - devel/* paths: - container/** - ci/** workflow_dispatch: -## Restructure to build our cores separate... jobs: ############################################################ - # tc_docker, tc_mono + # Linter ############################################################ tc_docker: name: Pull Request - tc_docker @@ -50,35 +50,6 @@ jobs: pull: true push: false tags: rootwyrm/${{ matrix.container }}:merge - tc_mono: - name: Pull Request - tc_mono - runs-on: ubuntu-latest - strategy: - matrix: - container: [ tc_mono ] - env: - CONTAINER: ${{ matrix.container }} - steps: - - name: Check out from ${{ github.ref }} - id: checkout - uses: actions/checkout@v2 - - name: Test pre-build hooks - id: hooks - run: | - $GITHUB_WORKSPACE/ci/hooks/pre_build - - name: Setup qemu environment - uses: docker/setup-qemu-action@v1 - - name: Setup buildx environment - uses: docker/setup-buildx-action@v1 - - name: Build ${{ matrix.container }} - id: docker_nopush - uses: docker/build-push-action@v2 - with: - platforms: linux/amd64, linux/arm64 - context: container/${{ matrix.container }} - pull: true - push: false - tags: rootwyrm/${{ matrix.container }}:merge ############################################################ # tc_qbittorrent - takes 1hr+ ############################################################ @@ -117,40 +88,7 @@ jobs: needs: tc_docker strategy: matrix: - container: [ tc_frontend, tc_nzbget, tc_transmission, tc_lidarr, tc_radarr, tc_prowlarr ] - env: - CONTAINER: ${{ matrix.container }} - steps: - - name: Check out from ${{ github.ref }} - id: checkout - uses: actions/checkout@v2 - - name: Test pre-build hooks - id: hooks - run: | - $GITHUB_WORKSPACE/ci/hooks/pre_build - - name: Setup qemu environment - uses: docker/setup-qemu-action@v1 - - name: Setup buildx environment - uses: docker/setup-buildx-action@v1 - - name: Build ${{ matrix.container }} - id: docker_nopush - uses: docker/build-push-action@v2 - with: - platforms: linux/amd64, linux/arm64 - context: container/${{ matrix.container }} - pull: true - push: false - tags: rootwyrm/${{ matrix.container }}:merge - ############################################################ - # tc_mono children - ############################################################ - tc_mono_child: - name: Pull request - tc_mono children - runs-on: ubuntu-latest - needs: tc_mono - strategy: - matrix: - container: [ tc_jackett, tc_sonarr ] + container: [ tc_frontend, tc_nzbget, tc_sonarr, tc_transmission, tc_lidarr, tc_radarr, tc_prowlarr ] env: CONTAINER: ${{ matrix.container }} steps: diff --git a/.github/workflows/tc_docker.yml b/.github/workflows/tc_docker.yml.no similarity index 100% rename from .github/workflows/tc_docker.yml rename to .github/workflows/tc_docker.yml.no diff --git a/.github/workflows/tc_mono.yml b/.github/workflows/tc_mono.yml.no similarity index 100% rename from .github/workflows/tc_mono.yml rename to .github/workflows/tc_mono.yml.no diff --git a/README.md b/README.md index d28aa45..457a2c5 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,12 @@ # talecaster TaleCaster - The Ultimate Media Management Solution +[Sponsor on GitHub](https://github.com/sponsors/rootwyrm) | [Sponsor on Patreon](https://patreon.com/rootwyrm) # IMPORTANT: Image Migration! -**Due to [Docker Hub's extreme hostility toward open source](https://blog.alexellis.io/docker-is-deleting-open-source-images/), images will be migrating to a new registry. I do not have several hundred dollars per year and this project certainly doesn't. Please stay tuned.** +**Due to [Docker Hub's extreme hostility toward open source](https://blog.alexellis.io/docker-is-deleting-open-source-images/), images will be migrating to GitHub Container Registry!** + +Containers will now be found at `ghcr.io/rootwyrm/tc_*` [![GitHub issues](https://img.shields.io/github/issues/rootwyrm/talecaster?style=for-the-badge)](https://github.com/rootwyrm/talecaster/issues)[![GitHub forks](https://img.shields.io/github/forks/rootwyrm/talecaster?style=for-the-badge)](https://github.com/rootwyrm/talecaster/network)[![GitHub stars](https://img.shields.io/github/stars/rootwyrm/talecaster?style=for-the-badge)](https://github.com/rootwyrm/talecaster/stargazers)[![GitHub license](https://img.shields.io/github/license/rootwyrm/talecaster?style=for-the-badge)](https://github.com/rootwyrm/talecaster) @@ -13,14 +16,11 @@ All credit goes to sgallagh for the name :) [Sponsor on GitHub](https://github.com/sponsors/rootwyrm) | [Sponsor on Patreon](https://patreon.com/rootwyrm) -Our primary development environment is generously hosted by @rootwyrm using [Dragon North Enterprise Systems](https://www.dragonnorth.systems) BabyDragon Gen.5 and Gen.6 hardware. Available for purchase now. - -Our secondary development hardware, named `alexandria.dragonnorth.systems`, is a Dragon North RedTail Gen.7B provided by [Dragon North Enterprise Systems](https://www.dragonnorth.systems). +Our primary development environments are hosted by @rootwyrm using [Dragon North Enterprise Systems](https://www.dragonnorth.systems) using a mix of BabyDragon, BabyGryphon, Gryphon, RedTail, and Shrike hardware. ## WARNING: Under active development. Pre-release software. - # Build Status | Base Image | | | | | |-------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------| @@ -32,11 +32,11 @@ Our secondary development hardware, named `alexandria.dragonnorth.systems`, is a # Linux Docker-based 'basic' configurations are validated and working, and documentation is in progress! -TaleCaster is designed to be deployed using `docker-compose` as a full application suite and comes with a web front end. +TaleCaster requires deployment using `docker-compose` as a full application suite and comes with a web front end. # HALP PLEASE! * Documentation! Documenting how to set up TaleCaster, Synology, etc. * The build status table is a nightmare. There has to be a better way? # FreeBSD -Work on FreeBSD has been discontinued due to applications migrating to .NET Runtime. FreeBSD core and portmgr have been openly hostile to Mono and .NET, preventing any serious porting efforts. Existing installations should migrate to the Linux distribution of their preference and use Docker. +Work on FreeBSD has been discontinued due to a lack of time and FreeBSD being generally ambivalent and uncooperative toward .NET, severely impeding porting efforts. \ No newline at end of file diff --git a/ci/hooks/pre_build b/ci/hooks/pre_build index e9913e3..3af27f2 100755 --- a/ci/hooks/pre_build +++ b/ci/hooks/pre_build @@ -17,8 +17,8 @@ if [ -z $CONTAINER ]; then fi export RW_BUILDDATE=$(date '+%FT%T.%N%:z') -if [ -z $STATUS ]; then - export STATUS="latest" +if [ -z $BRANCH ]; then + export BRANCH="latest" fi if [ -z $GITHUB_REF ]; then export REF="HEAD" @@ -40,8 +40,8 @@ else TGT=$1 fi -printf 'Replacing STATUS with %s\n' "$STATUS" -sed -i -e 's,%%STATUS%%,'${STATUS}',g' $TGT +printf 'Replacing STATUS with %s\n' "$BRANCH" +sed -i -e 's,%%STATUS%%,'${BRANCH}',g' $TGT printf 'Replacing VCS_REF with %s\n' "$VCS_REF" sed -i -e 's,%%VCS_REF%%,'$VCS_REF',g' $TGT diff --git a/container/tc_bazarr/Dockerfile b/container/tc_bazarr/Dockerfile index 1be9e1e..06872b8 100644 --- a/container/tc_bazarr/Dockerfile +++ b/container/tc_bazarr/Dockerfile @@ -6,8 +6,8 @@ # Licensed under CC-BY-NC-4.0 # See /LICENSE for details ################################################################################ -ARG TALECASTER_BASE=latest -FROM alpine:3.14 AS pybuild +ARG TALECASTER_BASE=${TALECASTER_BASE:-latest} +FROM alpine:3.16 AS pybuild WORKDIR /opt/bazarr RUN apk update && apk upgrade && \ apk add git bash python3 sqlite && \ @@ -23,32 +23,26 @@ RUN apk update && apk upgrade && \ #apk add gcc musl-dev python3-dev libjpeg-turbo-dev zlib-dev tiff-dev libwebp-dev lcms2-dev && \ -FROM docker.io/rootwyrm/tc_docker:$TALECASTER_BASE +FROM ghcr.io/rootwyrm/tc_docker:$TALECASTER_BASE ## Labels LABEL maintainer="Phillip 'RootWyrm' Jaenke " \ com.rootwyrm.product="TaleCaster" \ - com.rootwyrm.project="tc_mylar" \ - com.rootwyrm.status="%%STATUS%%" \ + com.rootwyrm.talecaster.branch="%%STATUS%%" \ + com.rootwyrm.talecaster.product="tc_mylar" \ + com.rootwyrm.talecaster.service="comics" \ com.rootwyrm.license="CC-BY-NC-4.0" \ com.rootwyrm.vcs-type="github" \ com.rootwyrm.vcs.url="%%GITHUB_REPOSITORY%%" \ - ## label-schema.org - org.label-schema.schema-version="1.0.0-rc1" \ - org.label-schema.vendor="RootWyrm" \ - org.label-schema.name="tc_mylar" \ - org.label-schema.url="%%GITHUB_REPOSITORY%%" \ - org.label-schema.vcs-ref="%%VCS_REF%%" \ - org.label-schema.version="%%REF%%" \ - org.label-schema.build-date="%%RW_BUILDDATE%%" \ - ## OCI + ## OCI + org.opencontainers.image.created="%%RW_BUILDDATE%%" \ + org.opencontainers.image.url="https://github.com/rootwyrm/talecaster" \ org.opencontainers.image.authors="RootWyrm" \ org.opencontainers.image.vendor="RootWyrm" \ org.opencontainers.image.licenses="CC-BY-NC-4.0" \ - org.opencontainers.image.version="%%RW_VCSHASH%%" \ - org.opencontainers.image.revision="%%GITHUB_SHA%%" \ org.opencontainers.image.source="%%GITHUB_REPOSITORY%%" \ - org.opencontainers.image.created="%%RW_BUILDDATE%%" + org.opencontainers.image.version="%%RW_VCSHASH%%" \ + org.opencontainers.image.revision="%%GITHUB_SHA%%" ## Ports EXPOSE 6767/tcp diff --git a/container/tc_docker/Dockerfile b/container/tc_docker/Dockerfile index 496dcf6..b2f9394 100644 --- a/container/tc_docker/Dockerfile +++ b/container/tc_docker/Dockerfile @@ -17,27 +17,21 @@ ENV tcgroup=${tcgroup:-media} ## Labels LABEL maintainer="Phillip 'RootWyrm' Jaenke " \ com.rootwyrm.product="TaleCaster" \ - com.rootwyrm.project="tc_docker" \ - com.rootwyrm.status="%%STATUS%%" \ + com.rootwyrm.talecaster.project="tc_docker" \ + com.rootwyrm.talecaster.status="%%STATUS%%" \ + com.rootwyrm.talecaster.service="base" \ com.rootwyrm.license="CC-BY-NC-4.0" \ com.rootwyrm.vcs-type="github" \ com.rootwyrm.vcs.url="%%GITHUB_REPOSITORY%%" \ - ## label-schema.org - org.label-schema.schema-version="1.0.0-rc1" \ - org.label-schema.vendor="RootWyrm" \ - org.label-schema.name="tc_docker" \ - org.label-schema.url="%%GITHUB_REPOSITORY%%" \ - org.label-schema.vcs-ref="%%VCS_REF%%" \ - org.label-schema.version="%%REF%%" \ - org.label-schema.build-date="%%RW_BUILDDATE%%" \ ## OCI + org.opencontainers.image.created="%%RW_BUILDDATE%%" \ + org.opencontainers.image.url="https://github.com/rootwyrm/talecaster" \ org.opencontainers.image.authors="RootWyrm" \ org.opencontainers.image.vendor="RootWyrm" \ org.opencontainers.image.licenses="CC-BY-NC-4.0" \ - org.opencontainers.image.version="%%RW_VCSHASH%%" \ - org.opencontainers.image.revision="%%GITHUB_SHA%%" \ org.opencontainers.image.source="%%GITHUB_REPOSITORY%%" \ - org.opencontainers.image.created="%%RW_BUILDDATE%%" + org.opencontainers.image.version="%%RW_VCSHASH%%" \ + org.opencontainers.image.revision="%%GITHUB_SHA%%" ADD [ "init.d/", "/etc/init.d/" ] ADD [ "cron/", "/etc/periodic/" ] diff --git a/container/tc_frontend/Dockerfile b/container/tc_frontend/Dockerfile index d8d54a6..324513a 100644 --- a/container/tc_frontend/Dockerfile +++ b/container/tc_frontend/Dockerfile @@ -7,35 +7,29 @@ # See /LICENSE for details ################################################################################ ARG TALECASTER_BASE=${TALECASTER_BASE:-latest} -FROM docker.io/rootwyrm/tc_docker:${TALECASTER_BASE} +FROM ghcr.io/rootwyrm/tc_docker:$TALECASTER_BASE ## Labels LABEL maintainer="Phillip 'RootWyrm' Jaenke " \ com.rootwyrm.product="TaleCaster" \ - com.rootwyrm.project="tc_frontend" \ - com.rootwyrm.status="%%STATUS%%" \ + com.rootwyrm.talecaster.project="tc_frontend" \ + com.rootwyrm.talecaster.status="%%STATUS%%" \ + com.rootwyrm.talecaster.service="frontend" \ com.rootwyrm.license="CC-BY-NC-4.0" \ com.rootwyrm.vcs-type="github" \ com.rootwyrm.vcs.url="%%GITHUB_REPOSITORY%%" \ - ## label-schema.org - org.label-schema.schema-version="1.0.0-rc1" \ - org.label-schema.vendor="RootWyrm" \ - org.label-schema.name="tc_frontend" \ - org.label-schema.url="%%GITHUB_REPOSITORY%%" \ - org.label-schema.vcs-ref="%%VCS_REF%%" \ - org.label-schema.version="%%REF%%" \ - org.label-schema.build-date="%%RW_BUILDDATE%%" \ ## OCI + org.opencontainers.image.created="%%RW_BUILDDATE%%" \ + org.opencontainers.image.url="https://github.com/rootwyrm/talecaster" \ org.opencontainers.image.authors="RootWyrm" \ org.opencontainers.image.vendor="RootWyrm" \ org.opencontainers.image.licenses="CC-BY-NC-4.0" \ - org.opencontainers.image.version="%%RW_VCSHASH%%" \ - org.opencontainers.image.revision="%%GITHUB_SHA%%" \ org.opencontainers.image.source="%%GITHUB_REPOSITORY%%" \ - org.opencontainers.image.created="%%RW_BUILDDATE%%" + org.opencontainers.image.version="%%RW_VCSHASH%%" \ + org.opencontainers.image.revision="%%GITHUB_SHA%%" RUN apk update && apk upgrade && \ apk add --no-cache logrotate nginx nginx-mod-http-cache-purge nginx-mod-http-headers-more nginx-mod-http-cookie-flag ; \ /sbin/rc-update add nginx default -COPY [ "etc/", "/etc/" ] +COPY [ "etc/", "/etc/" ] \ No newline at end of file diff --git a/container/tc_lidarr/Dockerfile b/container/tc_lidarr/Dockerfile index 18b1bdb..9665f13 100644 --- a/container/tc_lidarr/Dockerfile +++ b/container/tc_lidarr/Dockerfile @@ -6,33 +6,27 @@ # Licensed under CC-BY-NC-4.0 # See /LICENSE for details ################################################################################ -ARG TALECASTER_BASE=latest -FROM docker.io/rootwyrm/tc_docker:$TALECASTER_BASE +ARG TALECASTER_BASE=${TALECASTER_BASE:-latest} +FROM ghcr.io/rootwyrm/tc_docker:${TALECASTER_BASE} ## Labels LABEL maintainer="Phillip 'RootWyrm' Jaenke " \ com.rootwyrm.product="TaleCaster" \ - com.rootwyrm.project="tc_lidarr" \ - com.rootwyrm.status="%%STATUS%%" \ + com.rootwyrm.talecaster.project="tc_lidarr" \ + com.rootwyrm.talecaster.status="%%STATUS%%" \ + com.rootwyrm.talecaster.service="music" \ com.rootwyrm.license="CC-BY-NC-4.0" \ com.rootwyrm.vcs-type="github" \ com.rootwyrm.vcs.url="%%GITHUB_REPOSITORY%%" \ - ## label-schema.org - org.label-schema.schema-version="1.0.0-rc1" \ - org.label-schema.vendor="RootWyrm" \ - org.label-schema.name="tc_lidarr" \ - org.label-schema.url="%%GITHUB_REPOSITORY%%" \ - org.label-schema.vcs-ref="%%VCS_REF%%" \ - org.label-schema.version="%%STATUS%%" \ - org.label-schema.build-date="%%RW_BUILDDATE%%" \ ## OCI + org.opencontainers.image.created="%%RW_BUILDDATE%%" \ + org.opencontainers.image.url="https://github.com/rootwyrm/talecaster" \ org.opencontainers.image.authors="RootWyrm" \ org.opencontainers.image.vendor="RootWyrm" \ org.opencontainers.image.licenses="CC-BY-NC-4.0" \ - org.opencontainers.image.version="%%RW_VCSHASH%%" \ - org.opencontainers.image.revision="%%GITHUB_SHA%%" \ org.opencontainers.image.source="%%GITHUB_REPOSITORY%%" \ - org.opencontainers.image.created="%%RW_BUILDDATE%%" + org.opencontainers.image.version="%%RW_VCSHASH%%" \ + org.opencontainers.image.revision="%%GITHUB_SHA%%" ## Ports EXPOSE 8686/tcp diff --git a/container/tc_mylar/Dockerfile b/container/tc_mylar/Dockerfile index 8e0c350..005e2a9 100644 --- a/container/tc_mylar/Dockerfile +++ b/container/tc_mylar/Dockerfile @@ -6,7 +6,7 @@ # Licensed under CC-BY-NC-4.0 # See /LICENSE for details ################################################################################ -ARG TALECASTER_BASE=latest +ARG TALECASTER_BASE=${TALECASTER_BASE:-latest} FROM alpine:3.16 AS pybuild WORKDIR /opt/mylar RUN apk update && apk upgrade && \ @@ -18,32 +18,26 @@ RUN apk update && apk upgrade && \ apk add gcc musl-dev python3-dev libjpeg-turbo-dev zlib-dev tiff-dev libwebp-dev lcms2-dev && \ pip install --no-cache-dir --compile -r requirements.txt -FROM docker.io/rootwyrm/tc_docker:$TALECASTER_BASE +FROM ghcr.io/rootwyrm/tc_docker:$TALECASTER_BASE ## Labels LABEL maintainer="Phillip 'RootWyrm' Jaenke " \ com.rootwyrm.product="TaleCaster" \ - com.rootwyrm.project="tc_mylar" \ - com.rootwyrm.status="%%STATUS%%" \ + com.rootwyrm.talecaster.project="tc_mylar" \ + com.rootwyrm.talecaster.status="%%STATUS%%" \ + com.rootwyrm.talecaster.service="comics" \ com.rootwyrm.license="CC-BY-NC-4.0" \ com.rootwyrm.vcs-type="github" \ com.rootwyrm.vcs.url="%%GITHUB_REPOSITORY%%" \ - ## label-schema.org - org.label-schema.schema-version="1.0.0-rc1" \ - org.label-schema.vendor="RootWyrm" \ - org.label-schema.name="tc_mylar" \ - org.label-schema.url="%%GITHUB_REPOSITORY%%" \ - org.label-schema.vcs-ref="%%VCS_REF%%" \ - org.label-schema.version="%%REF%%" \ - org.label-schema.build-date="%%RW_BUILDDATE%%" \ ## OCI + org.opencontainers.image.created="%%RW_BUILDDATE%%" \ + org.opencontainers.image.url="https://github.com/rootwyrm/talecaster" \ org.opencontainers.image.authors="RootWyrm" \ org.opencontainers.image.vendor="RootWyrm" \ org.opencontainers.image.licenses="CC-BY-NC-4.0" \ - org.opencontainers.image.version="%%RW_VCSHASH%%" \ - org.opencontainers.image.revision="%%GITHUB_SHA%%" \ org.opencontainers.image.source="%%GITHUB_REPOSITORY%%" \ - org.opencontainers.image.created="%%RW_BUILDDATE%%" + org.opencontainers.image.version="%%RW_VCSHASH%%" \ + org.opencontainers.image.revision="%%GITHUB_SHA%%" ## Ports EXPOSE 8090/tcp diff --git a/container/tc_nzbget/Dockerfile b/container/tc_nzbget/Dockerfile index 90aa95e..cd6dfa9 100644 --- a/container/tc_nzbget/Dockerfile +++ b/container/tc_nzbget/Dockerfile @@ -6,33 +6,27 @@ # Licensed under CC-BY-NC-4.0 # See /LICENSE for details ################################################################################ -ARG TALECASTER_BASE=latest -FROM docker.io/rootwyrm/tc_docker:$TALECASTER_BASE +ARG TALECASTER_BASE=${TALECASTER_BASE:-latest} +FROM ghcr.io/rootwyrm/tc_docker:${TALECASTER_BASE} ## Labels LABEL maintainer="Phillip 'RootWyrm' Jaenke " \ com.rootwyrm.product="TaleCaster" \ - com.rootwyrm.project="tc_nzbget" \ - com.rootwyrm.status="%%STATUS%%" \ + com.rootwyrm.talecaster.project="tc_nzbget" \ + com.rootwyrm.talecaster.status="%%STATUS%%" \ + com.rootwyrm.talecaster.service="nntp" \ com.rootwyrm.license="CC-BY-NC-4.0" \ com.rootwyrm.vcs-type="github" \ com.rootwyrm.vcs.url="%%GITHUB_REPOSITORY%%" \ - ## label-schema.org - org.label-schema.schema-version="1.0.0-rc1" \ - org.label-schema.vendor="RootWyrm" \ - org.label-schema.name="tc_docker" \ - org.label-schema.url="%%GITHUB_REPOSITORY%%" \ - org.label-schema.vcs-ref="%%VCS_REF%%" \ - org.label-schema.version="%%REF%%" \ - org.label-schema.build-date="%%RW_BUILDDATE%%" \ ## OCI + org.opencontainers.image.created="%%RW_BUILDDATE%%" \ + org.opencontainers.image.url="https://github.com/rootwyrm/talecaster" \ org.opencontainers.image.authors="RootWyrm" \ org.opencontainers.image.vendor="RootWyrm" \ org.opencontainers.image.licenses="CC-BY-NC-4.0" \ - org.opencontainers.image.version="%%RW_VCSHASH%%" \ - org.opencontainers.image.revision="%%GITHUB_SHA%%" \ org.opencontainers.image.source="%%GITHUB_REPOSITORY%%" \ - org.opencontainers.image.created="%%RW_BUILDDATE%%" + org.opencontainers.image.version="%%RW_VCSHASH%%" \ + org.opencontainers.image.revision="%%GITHUB_SHA%%" ## Ports EXPOSE 6789/tcp diff --git a/container/tc_prowlarr/Dockerfile b/container/tc_prowlarr/Dockerfile index 9a03f6e..e428391 100644 --- a/container/tc_prowlarr/Dockerfile +++ b/container/tc_prowlarr/Dockerfile @@ -6,33 +6,27 @@ # Licensed under CC-BY-NC-4.0 # See /LICENSE for details ################################################################################ -ARG TALECASTER_BASE=latest -FROM docker.io/rootwyrm/tc_docker:$TALECASTER_BASE +ARG TALECASTER_BASE=${TALECASTER_BASE:-latest} +FROM ghcr.io/rootwyrm/tc_docker:$TALECASTER_BASE ## Labels LABEL maintainer="Phillip 'RootWyrm' Jaenke " \ com.rootwyrm.product="TaleCaster" \ - com.rootwyrm.project="tc_prowlarr" \ - com.rootwyrm.status="%%STATUS%%" \ + com.rootwyrm.talecaster.project="tc_prowlarr" \ + com.rootwyrm.talecaster.status="%%STATUS%%" \ + com.rootwyrm.talecaster.service="indexer" \ com.rootwyrm.license="CC-BY-NC-4.0" \ com.rootwyrm.vcs-type="github" \ com.rootwyrm.vcs.url="%%GITHUB_REPOSITORY%%" \ - ## label-schema.org - org.label-schema.schema-version="1.0.0-rc1" \ - org.label-schema.vendor="RootWyrm" \ - org.label-schema.name="tc_prowlarr" \ - org.label-schema.url="%%GITHUB_REPOSITORY%%" \ - org.label-schema.vcs-ref="%%VCS_REF%%" \ - org.label-schema.version="%%REF%%" \ - org.label-schema.build-date="%%RW_BUILDDATE%%" \ ## OCI + org.opencontainers.image.created="%%RW_BUILDDATE%%" \ + org.opencontainers.image.url="https://github.com/rootwyrm/talecaster" \ org.opencontainers.image.authors="RootWyrm" \ org.opencontainers.image.vendor="RootWyrm" \ org.opencontainers.image.licenses="CC-BY-NC-4.0" \ - org.opencontainers.image.version="%%RW_VCSHASH%%" \ - org.opencontainers.image.revision="%%GITHUB_SHA%%" \ org.opencontainers.image.source="%%GITHUB_REPOSITORY%%" \ - org.opencontainers.image.created="%%RW_BUILDDATE%%" + org.opencontainers.image.version="%%RW_VCSHASH%%" \ + org.opencontainers.image.revision="%%GITHUB_SHA%%" ## Ports EXPOSE 9696/tcp @@ -40,4 +34,4 @@ EXPOSE 9696/tcp ## Volumes VOLUME [ "/talecaster/downloads", "/talecaster/blackhole", "/talecaster/config" ] -# vim:sw=4:ts=4 +# vim:sw=4:ts=4 \ No newline at end of file diff --git a/container/tc_qbittorrent/Dockerfile b/container/tc_qbittorrent/Dockerfile index 788b7d2..89980d8 100644 --- a/container/tc_qbittorrent/Dockerfile +++ b/container/tc_qbittorrent/Dockerfile @@ -7,32 +7,26 @@ # See /LICENSE for details ################################################################################ ARG TALECASTER_BASE=${TALECASTER_BASE:-latest} -FROM docker.io/rootwyrm/tc_docker:$TALECASTER_BASE +FROM ghcr.io/rootwyrm/tc_docker:$TALECASTER_BASE ## Labels LABEL maintainer="Phillip 'RootWyrm' Jaenke " \ com.rootwyrm.product="TaleCaster" \ - com.rootwyrm.project="tc_qbittorrent" \ - com.rootwyrm.status="%%STATUS%%" \ + com.rootwyrm.talecaster.project="tc_qbittorrent" \ + com.rootwyrm.talecaster.status="%%STATUS%%" \ + com.rootwyrm.talecaster.service="torrent" \ com.rootwyrm.license="CC-BY-NC-4.0" \ com.rootwyrm.vcs-type="github" \ com.rootwyrm.vcs.url="%%GITHUB_REPOSITORY%%" \ - ## label-schema.org - org.label-schema.schema-version="1.0.0-rc1" \ - org.label-schema.vendor="RootWyrm" \ - org.label-schema.name="tc_qbittorrent" \ - org.label-schema.url="%%GITHUB_REPOSITORY%%" \ - org.label-schema.vcs-ref="%%VCS_REF%%" \ - org.label-schema.version="%%REF%%" \ - org.label-schema.build-date="%%RW_BUILDDATE%%" \ ## OCI + org.opencontainers.image.created="%%RW_BUILDDATE%%" \ + org.opencontainers.image.url="https://github.com/rootwyrm/talecaster" \ org.opencontainers.image.authors="RootWyrm" \ org.opencontainers.image.vendor="RootWyrm" \ org.opencontainers.image.licenses="CC-BY-NC-4.0" \ - org.opencontainers.image.version="%%RW_VCSHASH%%" \ - org.opencontainers.image.revision="%%GITHUB_SHA%%" \ org.opencontainers.image.source="%%GITHUB_REPOSITORY%%" \ - org.opencontainers.image.created="%%RW_BUILDDATE%%" + org.opencontainers.image.version="%%RW_VCSHASH%%" \ + org.opencontainers.image.revision="%%GITHUB_SHA%%" ## PORTS EXPOSE 8081/tcp diff --git a/container/tc_radarr/Dockerfile b/container/tc_radarr/Dockerfile index 9a725a7..cfae891 100644 --- a/container/tc_radarr/Dockerfile +++ b/container/tc_radarr/Dockerfile @@ -6,33 +6,27 @@ # Licensed under CC-BY-NC-4.0 # See /LICENSE for details ################################################################################ -ARG TALECASTER_BASE=latest -FROM docker.io/rootwyrm/tc_docker:$TALECASTER_BASE +ARG TALECASTER_BASE=${TALECASTER_BASE:-latest} +FROM ghcr.io/rootwyrm/tc_docker:${TALECASTER_BASE} ## Labels LABEL maintainer="Phillip 'RootWyrm' Jaenke " \ com.rootwyrm.product="TaleCaster" \ - com.rootwyrm.project="tc_radarr" \ - com.rootwyrm.status="%%STATUS%%" \ + com.rootwyrm.talecaster.project="tc_radarr" \ + com.rootwyrm.talecaster.status="%%STATUS%%" \ + com.rootwyrm.talecaster.service="movies" \ com.rootwyrm.license="CC-BY-NC-4.0" \ com.rootwyrm.vcs-type="github" \ com.rootwyrm.vcs.url="%%GITHUB_REPOSITORY%%" \ - ## label-schema.org - org.label-schema.schema-version="1.0.0-rc1" \ - org.label-schema.vendor="RootWyrm" \ - org.label-schema.name="tc_radarr" \ - org.label-schema.url="%%GITHUB_REPOSITORY%%" \ - org.label-schema.vcs-ref="%%VCS_REF%%" \ - org.label-schema.version="%%REF%%" \ - org.label-schema.build-date="%%RW_BUILDDATE%%" \ ## OCI + org.opencontainers.image.created="%%RW_BUILDDATE%%" \ + org.opencontainers.image.url="https://github.com/rootwyrm/talecaster" \ org.opencontainers.image.authors="RootWyrm" \ org.opencontainers.image.vendor="RootWyrm" \ org.opencontainers.image.licenses="CC-BY-NC-4.0" \ - org.opencontainers.image.version="%%RW_VCSHASH%%" \ - org.opencontainers.image.revision="%%GITHUB_SHA%%" \ org.opencontainers.image.source="%%GITHUB_REPOSITORY%%" \ - org.opencontainers.image.created="%%RW_BUILDDATE%%" + org.opencontainers.image.version="%%RW_VCSHASH%%" \ + org.opencontainers.image.revision="%%GITHUB_SHA%%" ## Ports EXPOSE 7878/tcp diff --git a/container/tc_readarr/Dockerfile b/container/tc_readarr/Dockerfile index 4be8caf..d8ffab9 100644 --- a/container/tc_readarr/Dockerfile +++ b/container/tc_readarr/Dockerfile @@ -6,33 +6,27 @@ # Licensed under CC-BY-NC-4.0 # See /LICENSE for details ################################################################################ -ARG TALECASTER_BASE=latest -FROM docker.io/rootwyrm/tc_docker:$TALECASTER_BASE +ARG TALECASTER_BASE=${TALECASTER_BASE:-latest} +FROM ghcr.io/rootwyrm/tc_docker:${TALECASTER_BASE} ## Labels LABEL maintainer="Phillip 'RootWyrm' Jaenke " \ com.rootwyrm.product="TaleCaster" \ - com.rootwyrm.project="tc_readarr" \ - com.rootwyrm.status="%%STATUS%%" \ + com.rootwyrm.talecaster.project="tc_readarr" \ + com.rootwyrm.talecaster.status="%%STATUS%%" \ + com.rootwyrm.talecaster.service="books" \ com.rootwyrm.license="CC-BY-NC-4.0" \ com.rootwyrm.vcs-type="github" \ com.rootwyrm.vcs.url="%%GITHUB_REPOSITORY%%" \ - ## label-schema.org - org.label-schema.schema-version="1.0.0-rc1" \ - org.label-schema.vendor="RootWyrm" \ - org.label-schema.name="tc_readarr" \ - org.label-schema.url="%%GITHUB_REPOSITORY%%" \ - org.label-schema.vcs-ref="%%VCS_REF%%" \ - org.label-schema.version="%%REF%%" \ - org.label-schema.build-date="%%RW_BUILDDATE%%" \ ## OCI + org.opencontainers.image.created="%%RW_BUILDDATE%%" \ + org.opencontainers.image.url="https://github.com/rootwyrm/talecaster" \ org.opencontainers.image.authors="RootWyrm" \ org.opencontainers.image.vendor="RootWyrm" \ org.opencontainers.image.licenses="CC-BY-NC-4.0" \ - org.opencontainers.image.version="%%RW_VCSHASH%%" \ - org.opencontainers.image.revision="%%GITHUB_SHA%%" \ org.opencontainers.image.source="%%GITHUB_REPOSITORY%%" \ - org.opencontainers.image.created="%%RW_BUILDDATE%%" + org.opencontainers.image.version="%%RW_VCSHASH%%" \ + org.opencontainers.image.revision="%%GITHUB_SHA%%" ## Ports EXPOSE 8787/tcp diff --git a/container/tc_sonarr/Dockerfile b/container/tc_sonarr/Dockerfile index b0d0cf7..47e1459 100644 --- a/container/tc_sonarr/Dockerfile +++ b/container/tc_sonarr/Dockerfile @@ -6,33 +6,27 @@ # Licensed under CC-BY-NC-4.0 # See /LICENSE for details ################################################################################ -ARG TALECASTER_BASE=latest -FROM docker.io/rootwyrm/tc_mono:$TALECASTER_BASE +ARG TALECASTER_BASE=${TALECASTER_BASE:-latest} +FROM ghcr.io/rootwyrm/tc_docker:$TALECASTER_BASE ## Labels LABEL maintainer="Phillip 'RootWyrm' Jaenke " \ com.rootwyrm.product="TaleCaster" \ - com.rootwyrm.project="tc_sonarr" \ - com.rootwyrm.status="%%STATUS%%" \ + com.rootwyrm.talecaster.project="tc_sonarr" \ + com.rootwyrm.talecaster.status="%%STATUS%%" \ + com.rootwyrm.talecaster.service="television" \ com.rootwyrm.license="CC-BY-NC-4.0" \ com.rootwyrm.vcs-type="github" \ com.rootwyrm.vcs.url="%%GITHUB_REPOSITORY%%" \ - ## label-schema.org - org.label-schema.schema-version="1.0.0-rc1" \ - org.label-schema.vendor="RootWyrm" \ - org.label-schema.name="tc_sonarr" \ - org.label-schema.url="%%GITHUB_REPOSITORY%%" \ - org.label-schema.vcs-ref="%%VCS_REF%%" \ - org.label-schema.version="%%REF%%" \ - org.label-schema.build-date="%%RW_BUILDDATE%%" \ ## OCI + org.opencontainers.image.created="%%RW_BUILDDATE%%" \ + org.opencontainers.image.url="https://github.com/rootwyrm/talecaster" \ org.opencontainers.image.authors="RootWyrm" \ org.opencontainers.image.vendor="RootWyrm" \ org.opencontainers.image.licenses="CC-BY-NC-4.0" \ - org.opencontainers.image.version="%%RW_VCSHASH%%" \ - org.opencontainers.image.revision="%%GITHUB_SHA%%" \ org.opencontainers.image.source="%%GITHUB_REPOSITORY%%" \ - org.opencontainers.image.created="%%RW_BUILDDATE%%" + org.opencontainers.image.version="%%RW_VCSHASH%%" \ + org.opencontainers.image.revision="%%GITHUB_SHA%%" ## Ports EXPOSE 8989/tcp diff --git a/container/tc_sonarr/application/build/20.sonarr.sh b/container/tc_sonarr/application/build/20.sonarr.sh index f9d0cef..00ed731 100755 --- a/container/tc_sonarr/application/build/20.sonarr.sh +++ b/container/tc_sonarr/application/build/20.sonarr.sh @@ -14,9 +14,23 @@ export app_name="Sonarr" export app_url="http://www.sonarr.tv/" export app_destdir="/opt/Sonarr" -export BRANCH="phantom-develop" -export VERSION="3" -export APPURL="https://services.sonarr.tv/v1/download/main/latest?version=3&os=linux" +#https://services.sonarr.tv/v1/download/develop/latest?version=4&os=linux-musl&arch=arm64 +export OSARCH="linux-musl" +export ARCH=$(uname -m) +case $ARCH in + x86*) + export ARCH="x64" + ;; + aarch64*) + export ARCH="arm64" + ;; + *) + echo "Unsupported architecture!" + exit 255 + ;; +esac +export VERSION="4" +export APPURL='https://services.sonarr.tv/v1/download/develop/latest?version='${VERSION}'&os='${OSARCH}'&arch='${ARCH}'' ###################################################################### ## Application Install diff --git a/container/tc_sonarr/application/sonarr.version b/container/tc_sonarr/application/sonarr.version index 5b32a56..787a271 100644 --- a/container/tc_sonarr/application/sonarr.version +++ b/container/tc_sonarr/application/sonarr.version @@ -1 +1 @@ -3.0.9.1549 +4.0.0.443 diff --git a/container/tc_transmission/Dockerfile b/container/tc_transmission/Dockerfile index 6f136a0..6ab4d3c 100644 --- a/container/tc_transmission/Dockerfile +++ b/container/tc_transmission/Dockerfile @@ -6,33 +6,27 @@ # Licensed under CC-BY-NC-4.0 # See /LICENSE for details ################################################################################ -ARG TALECASTER_BASE=latest -FROM docker.io/rootwyrm/tc_docker:$TALECASTER_BASE +ARG TALECASTER_BASE=${TALECASTER_BASE:-latest} +FROM ghcr.io/rootwyrm/tc_docker:$TALECASTER_BASE ## Labels LABEL maintainer="Phillip 'RootWyrm' Jaenke " \ com.rootwyrm.product="TaleCaster" \ - com.rootwyrm.project="tc_mono" \ - com.rootwyrm.status="%%STATUS%%" \ + com.rootwyrm.talecaster.project="tc_transmission" \ + com.rootwyrm.talecaster.status="%%STATUS%%" \ + com.rootwyrm.talecaster.service="torrent" \ com.rootwyrm.license="CC-BY-NC-4.0" \ com.rootwyrm.vcs-type="github" \ com.rootwyrm.vcs.url="%%GITHUB_REPOSITORY%%" \ - ## label-schema.org - org.label-schema.schema-version="1.0.0-rc1" \ - org.label-schema.vendor="RootWyrm" \ - org.label-schema.name="tc_docker" \ - org.label-schema.url="%%GITHUB_REPOSITORY%%" \ - org.label-schema.vcs-ref="%%VCS_REF%%" \ - org.label-schema.version="%%REF%%" \ - org.label-schema.build-date="%%RW_BUILDDATE%%" \ ## OCI + org.opencontainers.image.created="%%RW_BUILDDATE%%" \ + org.opencontainers.image.url="https://github.com/rootwyrm/talecaster" \ org.opencontainers.image.authors="RootWyrm" \ org.opencontainers.image.vendor="RootWyrm" \ org.opencontainers.image.licenses="CC-BY-NC-4.0" \ - org.opencontainers.image.version="%%RW_VCSHASH%%" \ - org.opencontainers.image.revision="%%GITHUB_SHA%%" \ org.opencontainers.image.source="%%GITHUB_REPOSITORY%%" \ - org.opencontainers.image.created="%%RW_BUILDDATE%%" + org.opencontainers.image.version="%%RW_VCSHASH%%" \ + org.opencontainers.image.revision="%%GITHUB_SHA%%" ## PORTS EXPOSE 9091/tcp @@ -43,4 +37,4 @@ EXPOSE 51413/udp VOLUME [ "/talecaster/blackhole" ] VOLUME [ "/talecaster/downloads" ] -# vim: sw=4:ts=4 +# vim: sw=4:ts=4 \ No newline at end of file