Skip to content

Commit 5a4ea07

Browse files
authored
fix: build args (#304)
1 parent c1e3b56 commit 5a4ea07

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/actions/deploy/action.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,9 @@ runs:
190190
${{ inputs.harbor_registry != '' && format('{0}/{1}:{2}', inputs.harbor_registry, inputs.target_repository, inputs.target_tag) || '' }}
191191
push: true
192192
platforms: ${{ inputs.platform }}
193-
build-args: ${{ inputs.build_args && format('{0},COMMIT_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) }}
194-
build_method: ${{ inputs.build_method }}
193+
build-args: |
194+
${{ inputs.build_args }}
195+
COMMIT_HASH=${{ steps.git_commit_hash_full.outputs.git_commit_hash_full }}
195196
labels: |
196197
ethpandaops.io.repo=${{ inputs.source_repository }}
197198
ethpandaops.io.commitRef=${{ inputs.source_ref }}

0 commit comments

Comments
 (0)