Skip to content

Commit 94c8fc8

Browse files
committed
Set Docker build arguments directly
1 parent e23d7d5 commit 94c8fc8

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,6 @@ jobs:
4646
permissions:
4747
contents: read
4848
packages: write
49-
env:
50-
VITE_APP_VERSION: ${{ needs.setup.outputs.version }}
51-
VITE_APP_BUILD: ${{ needs.setup.outputs.build }}
5249
steps:
5350
- name: Build cache path
5451
run: echo "CACHE_PATH=${GITHUB_REPOSITORY@L}-cache" >> ${GITHUB_ENV}
@@ -76,7 +73,7 @@ jobs:
7673
with:
7774
file: Dockerfile
7875
context: .
79-
build-args: VITE_APP_VERSION,VITE_APP_BUILD
76+
build-args: VITE_APP_VERSION=${{ needs.setup.outputs.version }},VITE_APP_BUILD=${{ needs.setup.outputs.build }}
8077
push: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') }}
8178
platforms: linux/amd64,linux/arm64
8279
tags: ${{ steps.meta.outputs.tags }}

0 commit comments

Comments
 (0)