Fix container builds on forks
This PR changes the 'build-and-push-to-registry' workflow to only run on the Pine64 repository, which prevents image pushing errors occurring. By doing this, we ensure the container images only come from the Pine64 OpenPineBuds repository.
This commit is contained in:
parent
73a0cebe0e
commit
c82babe9c7
|
@ -9,6 +9,7 @@ concurrency:
|
|||
|
||||
jobs:
|
||||
build-and-push-images:
|
||||
if: ${{ github.repository == 'pine64/OpenPineBuds' }}
|
||||
name: Build and push container image for PineBuds Pro SDK to GHCR.io
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
|
Loading…
Reference in New Issue