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 type: boolean
default: false default: false
secrets:
GITHUB_TOKEN:
required: true
jobs: jobs:
publish: publish:
name: "Publish Homebox" name: "Publish Homebox"
@ -38,7 +42,7 @@ jobs:
- name: login to container registry - name: login to container registry
run: docker login ghcr.io --username hay-kot --password $CR_PAT run: docker login ghcr.io --username hay-kot --password $CR_PAT
env: env:
CR_PAT: ${{ secrets.CR_PAT }} CR_PAT: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push - name: Build and push
uses: docker/build-push-action@v3 uses: docker/build-push-action@v3

View file

@ -41,6 +41,8 @@ jobs:
with: with:
release: true release: true
tag: ${{ github.event.release.tag_name }} tag: ${{ github.event.release.tag_name }}
secrets:
GITHUB_TOKEN: ${{ secrets.CR_PAT }}
publish-nightly: publish-nightly:
name: "Publish Nightly" name: "Publish Nightly"
@ -50,6 +52,8 @@ jobs:
uses: hay-kot/homebox/.github/workflows/partial-publish.yaml@main uses: hay-kot/homebox/.github/workflows/partial-publish.yaml@main
with: with:
tag: nightly tag: nightly
secrets:
GITHUB_TOKEN: ${{ secrets.CR_PAT }}
deploy-docs: deploy-docs:
name: Deploy docs name: Deploy docs