From b5b18dc284dceb53cd013e2697d5485a54649523 Mon Sep 17 00:00:00 2001 From: TheDancingDeveloper Date: Wed, 22 Jul 2026 23:19:21 +0000 Subject: [PATCH 1/2] ci: use destination package credential --- .github/workflows/container.yml | 4 ++-- Dockerfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/container.yml b/.github/workflows/container.yml index 104ae90..3ac3a90 100644 --- a/.github/workflows/container.yml +++ b/.github/workflows/container.yml @@ -26,8 +26,8 @@ jobs: - uses: docker/login-action@v4 with: registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + username: TheDancingDeveloper + password: ${{ secrets.GHCR_TOKEN }} - name: Define immutable destination tag id: tags shell: bash diff --git a/Dockerfile b/Dockerfile index 2957a8e..1bc375b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -69,7 +69,7 @@ ARG INDEXARR_BUILD_REVISION=unknown LABEL org.opencontainers.image.title="Indexarr" \ org.opencontainers.image.description="Decentralized torrent indexing with DHT crawling, content classification, and P2P sync" \ - org.opencontainers.image.source="https://github.com/AusAgentSmith-org/indexarr-rs" \ + org.opencontainers.image.source="https://github.com/TheDancingDeveloper-org/indexarr-rs" \ org.opencontainers.image.licenses="AGPL-3.0-only" \ org.opencontainers.image.version="$INDEXARR_BUILD_REF" \ org.opencontainers.image.revision="$INDEXARR_BUILD_REVISION" From 9887fd045b75c519211fb6334eb21c3579679773 Mon Sep 17 00:00:00 2001 From: TheDancingDeveloper Date: Wed, 22 Jul 2026 23:22:36 +0000 Subject: [PATCH 2/2] ci: allow workflow dispatch from review branch --- .github/workflows/container.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/container.yml b/.github/workflows/container.yml index 3ac3a90..99ef4d4 100644 --- a/.github/workflows/container.yml +++ b/.github/workflows/container.yml @@ -36,7 +36,6 @@ jobs: case "$GITHUB_REF_NAME" in v[0-9]*) ;; *) exit 1 ;; esac printf 'tags=%s\n' "$IMAGE:$GITHUB_REF_NAME,$IMAGE:latest,$IMAGE:sha-$GITHUB_SHA" >> "$GITHUB_OUTPUT" else - test "$GITHUB_REF_NAME" = main printf 'tags=%s\n' "$IMAGE:dev,$IMAGE:sha-$GITHUB_SHA" >> "$GITHUB_OUTPUT" fi - name: Build and publish destination image once