Skip to content

Commit

Permalink
ci: run docker workflow only in cashubtc org
Browse files Browse the repository at this point in the history
  • Loading branch information
prusnak committed Dec 23, 2024
1 parent dd26990 commit fa4d750
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ on:
jobs:
build-and-push:
runs-on: ubuntu-latest

# run only in cashubtc organization
# otherwise the secrets are not available and the job will fail
if: ${{ github.repository_owner == 'cashubtc' }}

steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit fa4d750

Please sign in to comment.