CI: GitHub: don't try to access Docker Hub without proper credentials
@@ -48,7 +48,7 @@ jobs:
docker:
needs: build
- if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v'))
+ if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v')) && github.repository_owner == 'Telecominfraproject'
name: Docker image
runs-on: ubuntu-latest
steps:
