Skip to content

Commit 88061d3

Browse files
committed
feat: add commit hash as a build arg
1 parent 88329bc commit 88061d3

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/actions/deploy/action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,9 @@ runs:
180180
${{ inputs.harbor_registry != '' && format('{0}/{1}:{2}', inputs.harbor_registry, inputs.target_repository, inputs.target_tag) || '' }}
181181
push: true
182182
platforms: ${{ inputs.platform }}
183-
build-args: ${{ inputs.build_args }}
183+
build-args: |
184+
${{ inputs.build_args }}
185+
COMMIT_HASH=${{ steps.git_commit_hash_full.outputs.git_commit_hash_full }}
184186
build_method: ${{ inputs.build_method }}
185187
labels: |
186188
ethpandaops.io.repo=${{ inputs.source_repository }}

0 commit comments

Comments
 (0)