check repo name

This commit is contained in:
Daniel-GrunbergerCA
2021-10-18 11:04:57 +03:00
parent 6144050212
commit d756b9bfe4
+1 -3
View File
@@ -29,8 +29,6 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v1
- name: TestWorkflow
run: echo $GITHUB_REPOSITORY
- name: Set up Go
uses: actions/setup-go@v2
with:
@@ -63,7 +61,7 @@ jobs:
build-docker:
name: Build docker container, tag and upload to registry
needs: build
if: ${{ github.workflow == 'armosec/kubescape' }}
if: ${{ github.repository == 'Daniel-GrunbergerCA/kubescape' }}
runs-on: ubuntu-latest
steps: