From 4e013cc08abdac50e22ea3eacbfdc1210a6f2e00 Mon Sep 17 00:00:00 2001 From: Alex Palesandro Date: Sat, 14 Nov 2020 19:55:17 +0100 Subject: [PATCH] Fix Build for forked repositories --- .github/workflows/integration.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 8d03d16108..c58a32fdbb 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -41,7 +41,7 @@ jobs: echo "::set-output name=repo-suffix::" # Do not push the resulting images to DockerHub if triggered by a fork - [[ "${{ github.event.repository.full_name }}" != 'liqotech/liqo' ]] && \ + [[ "${{ github.event.pull_request.head.repo.full_name }}" != 'liqotech/liqo' ]] && \ echo "::set-output name=repo-push::false" || \ echo "::set-output name=repo-push::true"