Skip to content

Commit 1563821

Browse files
committed
Fixed build-push-action build-args
1 parent f6d45b9 commit 1563821

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/actions/build-and-tag-locally/action.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,8 @@ runs:
133133
REDISJSON_VERSION=${{ inputs.redisjson_version }}
134134
REDISBLOOM_VERSION=${{ inputs.redisbloom_version }}
135135
REDISTIMESERIES_VERSION=${{ inputs.redistimeseries_version }}
136-
${{ inputs.custom_build != '' && format('CUSTOM_BUILD=true\nREDIS_DOWNLOAD_URL={0}', env.REDIS_DOWNLOAD_URL) || '' }}
136+
${{ inputs.custom_build != '' && 'CUSTOM_BUILD=true' || '' }}
137+
${{ inputs.custom_build != '' && format('REDIS_DOWNLOAD_URL={0}', env.REDIS_DOWNLOAD_URL) || '' }}
137138
138139
- name: Run container
139140
shell: bash
@@ -286,7 +287,8 @@ runs:
286287
REDISJSON_VERSION=${{ inputs.redisjson_version }}
287288
REDISBLOOM_VERSION=${{ inputs.redisbloom_version }}
288289
REDISTIMESERIES_VERSION=${{ inputs.redistimeseries_version }}
289-
${{ inputs.custom_build != '' && format('CUSTOM_BUILD=true\nREDIS_DOWNLOAD_URL={0}', env.REDIS_DOWNLOAD_URL) || '' }}
290+
${{ inputs.custom_build != '' && 'CUSTOM_BUILD=true' || '' }}
291+
${{ inputs.custom_build != '' && format('REDIS_DOWNLOAD_URL={0}', env.REDIS_DOWNLOAD_URL) || '' }}
290292
labels: |
291293
${{ steps.get-image-labels.outputs.image_labels }}
292294
org.opencontainers.image.source=${{ github.server_url }}/${{ github.repository }}

0 commit comments

Comments
 (0)