Skip to content

Commit

Permalink
Skip docker-ci-tools workflow in forks
Browse files Browse the repository at this point in the history
  • Loading branch information
carles-grafana committed Dec 18, 2024
1 parent 4d65e08 commit c7b5e77
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/docker-ci-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ permissions:
jobs:

get-image-tag:
if: github.repository == 'grafana/tempo' # skip in forks
runs-on: ubuntu-24.04
outputs:
tag: ${{ steps.get-tag.outputs.tag }}
Expand All @@ -29,6 +30,7 @@ jobs:
echo "tag=$(./tools/image-tag)" >> "$GITHUB_OUTPUT"
docker-ci-tools:
if: github.repository == 'grafana/tempo'
needs: get-image-tag
strategy:
matrix:
Expand All @@ -50,6 +52,7 @@ jobs:
docker push $IMAGE_NAME:$TAG_ARCH
manifest:
if: github.repository == 'grafana/tempo'
needs: ['get-image-tag', 'docker-ci-tools']
runs-on: ubuntu-latest
env:
Expand Down

0 comments on commit c7b5e77

Please sign in to comment.