-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #148 from EYBlockchain/swati/updates
Updated the dependencies
- Loading branch information
Showing
9 changed files
with
8,536 additions
and
6,182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Release updated | ||
|
||
on: | ||
push: | ||
branches: | ||
- swati/updates | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
|
||
- name: Login to Github Packages | ||
uses: docker/login-action@v1 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
# - uses: codfish/semantic-release-action@master | ||
# id: semantic | ||
# env: | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
|
||
# - name: Build docker merkle-tree image | ||
# run: docker build ./merkle-tree | ||
|
||
# - run: echo ${{ steps.semantic.outputs.release-version }} | ||
|
||
- name: Build and push UI docker image | ||
uses: docker/build-push-action@v2 | ||
with: | ||
context: ./merkle-tree | ||
build-args: | | ||
GPR_TOKEN=${{ secrets.GPR_TOKEN }} | ||
tags: | | ||
ghcr.io/eyblockchain/timber-updated:latest | ||
# username: ${{ github.actor }} | ||
# password: ${{ secrets.GITHUB_TOKEN }} | ||
push: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,18 @@ | ||
FROM node:11.15 | ||
FROM node:iron-slim | ||
|
||
ENV USERNAME="app" | ||
|
||
RUN addgroup --gid 10001 $USERNAME && \ | ||
adduser --gid 10001 --uid 10001 --home /app $USERNAME | ||
|
||
WORKDIR /app | ||
|
||
COPY ./package.json ./package-lock.json ./ | ||
COPY ./src ./src | ||
COPY ./test ./test | ||
COPY ./.babelrc ./ | ||
RUN npm ci | ||
RUN npm install | ||
|
||
USER $USERNAME:$USERNAME | ||
EXPOSE 80 | ||
CMD npm start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
FROM node:11.15 | ||
FROM node:iron-slim | ||
|
||
WORKDIR /app | ||
|
||
COPY ./package.json ./package-lock.json ./ | ||
RUN npm ci | ||
RUN npm i | ||
|
||
EXPOSE 80 | ||
CMD npm run dev |
Oops, something went wrong.