Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .github/workflows/build-and-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }}
path: go/src/github.com/stackrox/infra

- name: Get NPM package access
env:
GITHUB_TOKEN: ${{ secrets.RHACS_BOT_GITHUB_TOKEN }}
run: echo "//npm.pkg.github.com/:_authToken=\"$GITHUB_TOKEN\"" > ~/.npmrc

- name: Setup env
run: |
GOPATH="$GITHUB_WORKSPACE/go"
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ ui:

.PHONY: image
image:
docker build . -t $(IMAGE) -f image/Dockerfile --secret id=npmrc,src=${HOME}/.npmrc
docker build . -t $(IMAGE) -f image/Dockerfile

.PHONY: push
push:
Expand Down
2 changes: 1 addition & 1 deletion image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ FROM node:23.8.0 as ui-builder

COPY ui ui

RUN --mount=type=secret,id=npmrc,target=/root/.npmrc make -C ui all
RUN make -C ui all

FROM alpine:3.21.3 as app

Expand Down
1 change: 0 additions & 1 deletion ui/.npmrc

This file was deleted.

Loading