Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terraform 1 #83

Merged
merged 5 commits into from
Sep 26, 2024
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
10 changes: 10 additions & 0 deletions .github/workflows/build-full-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ permissions:
packages: write

on:
pull_request_target:
types:
- closed
branches:
- 'main'
paths:
- ".github/workflows/**"
- "client/**"
- "server/**"
- "!**/README.md"
workflow_dispatch:
inputs:
TAG:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mvn-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:

- uses: actions/upload-artifact@v3
with:
name: Package-client
name: ${{ inputs.PROJECT_NAME }}-package
path: staging

- name: Cache local Maven repository
Expand Down
8 changes: 4 additions & 4 deletions client/wfprev-war/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ FROM node:18 AS build
WORKDIR /src/main/angular

# Add NPM Token from build arguments for private registry authentication
ARG NPM_TOKEN
ARG PRIVATE_REGISTRY_AUTH
RUN echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
RUN echo "//bwa.nrs.gov.bc.ca/int/artifactory/api/npm/nrs-virtual-npm/:_auth=${PRIVATE_REGISTRY_AUTH}" >> .npmrc
# ARG NPM_TOKEN
# ARG PRIVATE_REGISTRY_AUTH
# RUN echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
# RUN echo "//bwa.nrs.gov.bc.ca/int/artifactory/api/npm/nrs-virtual-npm/:_auth=${PRIVATE_REGISTRY_AUTH}" >> .npmrc

# Copy the package.json and package-lock.json files
COPY src/main/angular/package*.json ./
Expand Down
Loading