From e90e8484f5e849e612b8315c6f050c454758137f Mon Sep 17 00:00:00 2001 From: Hayden <64056131+hay-kot@users.noreply.github.com> Date: Mon, 10 Oct 2022 19:38:39 -0800 Subject: [PATCH] maybe fix build? --- .github/workflows/partial-publish.yaml | 6 +++++- .github/workflows/publish.yaml | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/partial-publish.yaml b/.github/workflows/partial-publish.yaml index 8c5f56f..4ade12a 100644 --- a/.github/workflows/partial-publish.yaml +++ b/.github/workflows/partial-publish.yaml @@ -11,6 +11,10 @@ on: type: boolean default: false + secrets: + GITHUB_TOKEN: + required: true + jobs: publish: name: "Publish Homebox" @@ -38,7 +42,7 @@ jobs: - name: login to container registry run: docker login ghcr.io --username hay-kot --password $CR_PAT env: - CR_PAT: ${{ secrets.CR_PAT }} + CR_PAT: ${{ secrets.GITHUB_TOKEN }} - name: Build and push uses: docker/build-push-action@v3 diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 27b831d..fac0c8b 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -41,6 +41,8 @@ jobs: with: release: true tag: ${{ github.event.release.tag_name }} + secrets: + GITHUB_TOKEN: ${{ secrets.CR_PAT }} publish-nightly: name: "Publish Nightly" @@ -50,6 +52,8 @@ jobs: uses: hay-kot/homebox/.github/workflows/partial-publish.yaml@main with: tag: nightly + secrets: + GITHUB_TOKEN: ${{ secrets.CR_PAT }} deploy-docs: name: Deploy docs