Skip to content

Commit 067e238

Browse files
authored
Rename to commit_hash
1 parent 34bf7d2 commit 067e238

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/actions/get-branch/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

1818
runs:
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: |
@@ -34,7 +34,7 @@ runs:
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 }}

.github/workflows/build-docker-artifacts.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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 }}

0 commit comments

Comments
 (0)