Skip to content

Commit 7151d78

Browse files
Apply suggestions from code review
Co-authored-by: Tom Martensen <[email protected]>
1 parent 9eef4bd commit 7151d78

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/actions/build-and-push-image/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ inputs:
1010
runs:
1111
using: composite
1212
steps:
13-
- name: Build and push x86_64 image
13+
- name: Build and push ${{ inputs.arch }} image
1414
run: |
1515
.github/actions/build-and-push-image/build-and-push-image.sh \
1616
"${{ inputs.image-flavor }}" "${{ inputs.arch }}"

.github/actions/build-and-push-image/build-and-push-image.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ build_and_push_image() {
77
local target_arch="$2"
88
local tag_suffix="-${target_arch}"
99

10-
if [ -z $target_arch ]; then
10+
if [ -z "${target_arch}" ]; then
1111
target_arch="amd64"
1212
tag_suffix=""
1313
fi

0 commit comments

Comments
 (0)