Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

Commit

Permalink
fix: updated job output for version number to docker build (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
ibersanoMS authored Apr 3, 2023
1 parent f13d8a3 commit f95096e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/Prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ on:
jobs:
build_proxy:
runs-on: ubuntu-latest
outputs:
version: ${{ steps.versionNum.outputs.versionNumber }}
name: .NET restore, build & test

steps:
Expand Down Expand Up @@ -138,7 +140,7 @@ jobs:
with:
context: .
push: true
tags: ${{ needs.build_proxy.outputs.steps.versionNum.versionNumber }}
tags: ${{ needs.build_proxy.outputs.version }}
labels: ${{ steps.meta.outputs.labels }}


Expand All @@ -164,7 +166,7 @@ jobs:
- name: Call the script
continue-on-error: true
run: |
bash main.sh -a "${{ vars.prodPrefix }}-${{ env.iteration }}" -c "${{ vars.prodPrefix }}-${{ env.iteration }}" -r "${{ vars.prodPrefix }}-${{ env.iteration }}" -e ${{ vars.email }} -l ${{ vars.location }} -v ${{ needs.build_proxy.outputs.steps.versionNum.versionNumber }}
bash main.sh -a "${{ vars.prodPrefix }}-${{ env.iteration }}" -c "${{ vars.prodPrefix }}-${{ env.iteration }}" -r "${{ vars.prodPrefix }}-${{ env.iteration }}" -e ${{ vars.email }} -l ${{ vars.location }} -v ${{ needs.build_proxy.outputs.version }}
- name: Delete e2e environment
if: ${{ vars.DeleteOnFailure == 'true' }} || success()
Expand Down

0 comments on commit f95096e

Please sign in to comment.