maybe fix build?

This commit is contained in:
Hayden 2022-10-10 19:38:39 -08:00
parent 3563233756
commit e90e8484f5
2 changed files with 9 additions and 1 deletions

View file

@ -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

View file

@ -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