This commit is contained in:
aswin-in-philips 2023-03-29 12:49:26 +05:30
parent ec796fd4c6
commit 46dbf695a1
1 changed files with 1 additions and 20 deletions

View File

@ -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: |