ci: check repo origin on push tag event

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2023-04-03 20:51:51 +02:00
parent 91fdb0423d
commit 805f3a199d
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7
2 changed files with 2 additions and 2 deletions

View File

@ -115,7 +115,7 @@ jobs:
bin-image:
runs-on: ubuntu-22.04
if: ${{ github.event_name != 'pull_request' }}
if: ${{ github.event_name != 'pull_request' && github.repository == 'docker/buildx' }}
steps:
-
name: Checkout

View File

@ -8,7 +8,7 @@ on:
jobs:
open-pr:
runs-on: ubuntu-22.04
if: "!github.event.release.prerelease"
if: ${{ github.event.release.prerelease != true && github.repository == 'docker/buildx' }}
steps:
-
name: Checkout docs repo