Skip to content

Commit b5ff136

Browse files
committed
add newline
1 parent 88061d3 commit b5ff136

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.github/actions/deploy/action.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,7 @@ 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: |
184-
${{ inputs.build_args }}
185-
COMMIT_HASH=${{ steps.git_commit_hash_full.outputs.git_commit_hash_full }}
183+
build-args: ${{ inputs.build_args && format('{0}\nCOMMIT_HASH={1}', inputs.build_args, steps.git_commit_hash_full.outputs.git_commit_hash_full) || format('COMMIT_HASH={0}', steps.git_commit_hash_full.outputs.git_commit_hash_full) }}
186184
build_method: ${{ inputs.build_method }}
187185
labels: |
188186
ethpandaops.io.repo=${{ inputs.source_repository }}

0 commit comments

Comments
 (0)