Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
dbadura committed Nov 19, 2024
1 parent 1750176 commit 9788041
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/busola-web-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ jobs:
name: busola-web
dockerfile: Dockerfile.web
tags: ${{ inputs.tag != '' && inputs.tag || 'latest' }}
build-args: ${{ inputs.tag != '' && format('default_tag={0}', inputs.tag) || '' }}
build-args: ${{ inputs.tag != '' && format('tag={0}', inputs.tag) || '' }}
3 changes: 2 additions & 1 deletion Dockerfile.web
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# ---- Base Alpine with Node ----
FROM node:20.17-alpine3.20 AS builder
ARG default_tag
ARG tag

# Install global dependencies
RUN apk update && \
Expand All @@ -15,7 +16,7 @@ ENV CI true

COPY . /app

RUN yq -i '.version = "'${default_tag}'"' public/version.yaml && \
RUN export TAG=${tag:-$default_tag} && yq -i '.version = "'${TAG}'"' public/version.yaml && \
make resolve validate

RUN npm run build:docker
Expand Down

0 comments on commit 9788041

Please sign in to comment.