File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 4343 name : busola-web
4444 dockerfile : Dockerfile.web
4545 tags : ${{ inputs.tag != '' && inputs.tag || 'latest' }}
46- build-args : ${{ inputs.tag != '' && format('default_tag ={0}', inputs.tag) || '' }}
46+ build-args : ${{ inputs.tag != '' && format('tag ={0}', inputs.tag) || '' }}
Original file line number Diff line number Diff line change 11# ---- Base Alpine with Node ----
22FROM node:20.17-alpine3.20 AS builder
33ARG default_tag
4+ ARG tag
45
56# Install global dependencies
67RUN apk update && \
@@ -15,7 +16,7 @@ ENV CI true
1516
1617COPY . /app
1718
18- RUN yq -i '.version = "'${default_tag }'"' public/version.yaml && \
19+ RUN export TAG=${tag:-$default_tag} && yq -i '.version = "'${TAG }'"' public/version.yaml && \
1920 make resolve validate
2021
2122RUN npm run build:docker
You can’t perform that action at this time.
0 commit comments