Only run on prometheus/prometheus repo

Signed-off-by: Charles Korn <charles.korn@grafana.com>
This commit is contained in:
Charles Korn 2024-03-14 13:39:54 +11:00
parent 0f70fc7687
commit dca47ce2c9
No known key found for this signature in database

View file

@ -14,6 +14,7 @@ jobs:
PushDockerHubReadme:
runs-on: ubuntu-latest
name: Push README to Docker Hub
if: github.repository == 'prometheus/prometheus'
steps:
- name: git checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
@ -33,6 +34,7 @@ jobs:
PushQuayIoReadme:
runs-on: ubuntu-latest
name: Push README to quay.io
if: github.repository == 'prometheus/prometheus'
steps:
- name: git checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1