Skip to content

Commit

Permalink
Fix conatiner UI image build (#577) (#578)
Browse files Browse the repository at this point in the history
(cherry picked from commit 6411acc)

Co-authored-by: Marek Libra <[email protected]>
  • Loading branch information
flaper87 and mareklibra authored Oct 6, 2022
1 parent d2c1d8b commit a3247a0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CI_FOLDER = images
PIPE_IMAGE ?= quay.io/ztpfw/pipeline
UI_IMAGE = quay.io/ztpfw/ui
UI_IMAGE ?= quay.io/ztpfw/ui
BRANCH ?= $(shell git branch --show-current | tr '[:upper:]' '[:lower:]' | tr '\/' '-')
HASH := $(shell git rev-parse HEAD)
RELEASE ?= latest
Expand Down
1 change: 1 addition & 0 deletions images/Containerfile.UI
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
FROM registry.access.redhat.com/ubi8/nodejs-16:latest as builder
USER root
RUN npm install -g corepack
RUN corepack enable yarn

WORKDIR /app
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,11 @@ exports[`DownloadSshKeyPage can render 1`] = `
Danger alert:
</span>
Incorrect SSH key secret
</h4>
<div
class="pf-c-alert__description"
>
The secret with ssh private key does not meet the required structure.
<button
aria-disabled="false"
Expand All @@ -415,8 +420,7 @@ exports[`DownloadSshKeyPage can render 1`] = `
>
Try again
</button>
</h4>
</div>
</div>
</div>
<div
Expand Down

0 comments on commit a3247a0

Please sign in to comment.