Skip to content
Snippets Groups Projects
Commit 72792c15 authored by Guilherme Gazzo's avatar Guilherme Gazzo
Browse files

ci: only rebuild docker if event is pull request and is from outside (#32997)

parent 97c7042b
No related branches found
No related tags found
No related merge requests found
...@@ -124,7 +124,7 @@ jobs: ...@@ -124,7 +124,7 @@ jobs:
# if we are testing a PR from a fork, we need to build the docker image at this point # if we are testing a PR from a fork, we need to build the docker image at this point
- uses: ./.github/actions/build-docker - uses: ./.github/actions/build-docker
if: github.event.pull_request.head.repo.full_name != github.repository if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository
with: with:
CR_USER: ${{ secrets.CR_USER }} CR_USER: ${{ secrets.CR_USER }}
CR_PAT: ${{ secrets.CR_PAT }} CR_PAT: ${{ secrets.CR_PAT }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment