Skip to content

Commit 7b290e2

Browse files
authored
Merge pull request #46 from devilbox/quote-make-arguments
Quote version argument for Make command
2 parents e148953 + 07d9e49 commit 7b290e2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/docker-name-version-flavour-arch.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ jobs:
161161
uses: cytopia/[email protected]
162162
with:
163163
command: |
164-
make build NAME=${{ matrix.name }} VERSION=${{ matrix.version }} FLAVOUR=${{ matrix.flavour }} ARCH=${{ matrix.arch }} TAG=${{ steps.tag.outputs.docker-tag }}
164+
make build NAME=${{ matrix.name }} VERSION="${{ matrix.version }}" FLAVOUR=${{ matrix.flavour }} ARCH=${{ matrix.arch }} TAG=${{ steps.tag.outputs.docker-tag }}
165165
166166
# ------------------------------------------------------------
167167
# Test
@@ -170,7 +170,7 @@ jobs:
170170
uses: cytopia/[email protected]
171171
with:
172172
command: |
173-
make test NAME=${{ matrix.name }} VERSION=${{ matrix.version }} FLAVOUR=${{ matrix.flavour }} ARCH=${{ matrix.arch }} TAG=${{ steps.tag.outputs.docker-tag }}
173+
make test NAME=${{ matrix.name }} VERSION="${{ matrix.version }}" FLAVOUR=${{ matrix.flavour }} ARCH=${{ matrix.arch }} TAG=${{ steps.tag.outputs.docker-tag }}
174174
175175
# ------------------------------------------------------------
176176
# Deploy
@@ -186,7 +186,7 @@ jobs:
186186
uses: cytopia/[email protected]
187187
with:
188188
command: |
189-
make push NAME=${{ matrix.name }} VERSION=${{ matrix.version }} FLAVOUR=${{ matrix.flavour }} ARCH=${{ matrix.arch }} TAG=${{ steps.tag.outputs.docker-tag }}
189+
make push NAME=${{ matrix.name }} VERSION="${{ matrix.version }}" FLAVOUR=${{ matrix.flavour }} ARCH=${{ matrix.arch }} TAG=${{ steps.tag.outputs.docker-tag }}
190190
if: needs.configure.outputs.can_login == 1 && inputs.can_deploy
191191

192192
# -----------------------------------------------------------------------------------------------
@@ -248,10 +248,10 @@ jobs:
248248
uses: cytopia/[email protected]
249249
with:
250250
command: |
251-
make manifest-create NAME=${{ matrix.name }} VERSION=${{ matrix.version }} FLAVOUR=${{ matrix.flavour }} ARCHES=${{ steps.manifest.outputs.arches }} TAG=${{ steps.tag.outputs.docker-tag }}
251+
make manifest-create NAME=${{ matrix.name }} VERSION="${{ matrix.version }}" FLAVOUR=${{ matrix.flavour }} ARCHES=${{ steps.manifest.outputs.arches }} TAG=${{ steps.tag.outputs.docker-tag }}
252252
253253
- name: "[DEPLOY] Publish Docker manifest: ${{ steps.tag.outputs.docker-tag }}"
254254
uses: cytopia/[email protected]
255255
with:
256256
command: |
257-
make manifest-push NAME=${{ matrix.name }} VERSION=${{ matrix.version }} FLAVOUR=${{ matrix.flavour }} TAG=${{ steps.tag.outputs.docker-tag }}
257+
make manifest-push NAME=${{ matrix.name }} VERSION="${{ matrix.version }}" FLAVOUR=${{ matrix.flavour }} TAG=${{ steps.tag.outputs.docker-tag }}

0 commit comments

Comments
 (0)