From d5659db2fcd6a9f7a2a8f79853eea4ab7c843506 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sun, 21 Feb 2021 07:52:53 -0600 Subject: use PAT --- .github/workflows/ci.yml | 4 ++-- Dockerfile | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 02d8cb6e..1bf02915 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -105,8 +105,8 @@ jobs: uses: docker/login-action@v1 with: registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + username: ${{ secrets.GHCR_USERNAME }} + password: ${{ secrets.GHCR_PAT }} - name: Build and push Canary if: "!startsWith(github.ref, 'refs/tags/')" diff --git a/Dockerfile b/Dockerfile index 10b7d6d8..9d92e36c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,6 +41,8 @@ FROM mcr.microsoft.com/dotnet/runtime-deps:5.0-alpine AS slskd ARG VERSION=0.0.1.65534-local +LABEL org.opencontainers.image.source=https://github.com/slskd/slskd + WORKDIR /slskd # COPY --from=publish /slskd/dist/linux-musl-x64 . -- cgit v1.2.3