test
This commit is contained in:
parent
86490c1478
commit
ec796fd4c6
|
|
@ -159,7 +159,8 @@ jobs:
|
|||
echo "PR_IMAGE=${{ env.HSDP_DOCKER_REGISTRY }}/edi-foundation-oauth2-proxy:${pr_tag}" >> "$GITHUB_ENV"
|
||||
echo "prTag=${pr_tag}" >> $GITHUB_OUTPUT
|
||||
echo "betaTag=${beta_tag}" >> $GITHUB_OUTPUT
|
||||
echo "${{ env.HSDP_DOCKER_REGISTRY }}/edi-foundation-oauth2-proxy:${pr_tag}" > /tmp/output.txt
|
||||
echo "${pr_tag}" > /tmp/output.txt
|
||||
echo "${beta_tag}" > /tmp/output2.txt
|
||||
|
||||
- name: Docker Build
|
||||
run: |
|
||||
|
|
@ -184,14 +185,32 @@ 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
|
||||
with:
|
||||
name: Image tag
|
||||
path: /tmp/output.txt
|
||||
path: /tmp/output2.txt
|
||||
if-no-files-found: error
|
||||
|
||||
Output:
|
||||
needs: [Build]
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: check output
|
||||
run: |
|
||||
echo "${{ needs.Build.outputs.oauth2proxyPRTag }}"
|
||||
|
||||
# Blackduck:
|
||||
# needs: [Build]
|
||||
|
|
|
|||
Loading…
Reference in New Issue