From 46dbf695a1aca0237f9ed40df3042c7dcb4341b0 Mon Sep 17 00:00:00 2001 From: aswin-in-philips Date: Wed, 29 Mar 2023 12:49:26 +0530 Subject: [PATCH] test --- .github/workflows/ci.yaml | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ec59e41a..f9d7e9f1 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -149,6 +149,7 @@ jobs: id: branch - name: Set env variables + id: setVariables run: | new_version=${{ needs.Init.outputs.Version }} pr_tag="PR-${{ github.run_id }}" @@ -185,15 +186,6 @@ jobs: docker tag ${{ env.PR_IMAGE }} ${{ env.CI_IMAGE }} docker push ${{ env.CI_IMAGE }} - - name: PR Image Artifact - #if: github.event_name == 'pull_request' - uses: actions/upload-artifact@v2 - with: - name: Image tag - path: /tmp/output.txt - if-no-files-found: error - - - name: CI Image Artifact #if: github.ref == 'refs/heads/edi-foundation-integration' uses: actions/upload-artifact@v2 @@ -224,17 +216,6 @@ jobs: # with: # java-version: 11 - # - name: Pull PR Docker Image - # #if: github.event_name == 'pull_request' - # run: | - # docker login docker.na1.hsdp.io --username '${{ secrets.DOCKER_USER }}' --password '${{ secrets.DOCKER_PSWD }}' - # docker pull docker.na1.hsdp.io/edi/edi-foundation-oauth2-proxy:${{ needs.Build.outputs.oauth2proxyPRTag }} - - # - name: PR Blackduck Image Scan - # #if: github.event_name == 'pull_request' - # run: | - # java -jar D:\synopsys-detect-8.3.0.jar --detect.project.name=SA_edifoundation-oauth2proxy --detect.project.version.name=1.0 --blackduck.url=https://blackduck.philips.com/ --detect.go.path="C:\Program Files\Go\bin\go.exe" --blackduck.trust.cert=true --blackduck.api.token=NmNjYmM4ODgtZjc0Ni00NTIwLTk3NDQtMjdiNzU1ZmFiYmE0OjBjNGQyODU1LTU1MDctNDkwMC1hNzI1LTJiZDg3YWZhZjJmMQ== --blackduck.proxy.host=apac.zscaler.philips.com --blackduck.proxy.port=10015 --blackduck.proxy.ignored.hosts=blackduck.philips.com --detect.tools.excluded=BINARY_SCAN --detect.docker.image=docker.na1.hsdp.io/edi/edi-foundation-oauth2-proxy:${{ needs.Build.outputs.oauth2proxyPRTag }} --detect.blackduck.signature.scanner.local.path="C:\Users\ing07422\blackduck\tools\Black_Duck_Scan_Installation\scan.cli-2022.7.2" - # - name: Pull CI Docker Image # if: github.ref == 'refs/heads/edi-foundation-integration' # run: |