File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -11,14 +11,14 @@ outputs:
1111 branch :
1212 description : " extracted branch"
1313 value : ${{ steps.get-branch.outputs.branch }}
14- commit :
14+ commit_hash :
1515 description : " extracted commit hash"
16- value : ${{ steps.get-branch.outputs.commit }}
16+ value : ${{ steps.get-branch.outputs.commit_hash }}
1717
1818runs :
1919 using : " composite"
2020 steps :
21- - name : Extract branch and commit
21+ - name : Extract branch and commit hash
2222 shell : bash
2323 id : get-branch
2424 run : |
3434 fi
3535
3636 echo "branch=${BRANCH_NAME}" >> $GITHUB_OUTPUT
37- echo "commit =$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
37+ echo "commit_hash =$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
3838 env :
3939 HEAD_REF : ${{ github.head_ref }}
4040 REF_NAME : ${{ github.ref_name }}
Original file line number Diff line number Diff line change @@ -229,7 +229,7 @@ jobs:
229229 no-cache : true
230230 build-args : |
231231 GIT_BRANCH=${{ steps.get-branch.outputs.branch }}
232- GIT_COMMIT =${{ steps.get-branch.outputs.commit }}
232+ GIT_COMMIT_HASH =${{ steps.get-branch.outputs.commit_hash }}
233233 DOCKERFILE_DIRECTORY=${{ matrix.component.flavor_directory }}/${{ matrix.component.directory }}
234234 PYTHON_BASE_IMAGE=${{ env.PYTHON_BASE_IMAGE }}
235235 DATAVISYN_PYTHON_BASE_IMAGE=${{ env.DATAVISYN_PYTHON_BASE_IMAGE }}
You can’t perform that action at this time.
0 commit comments