Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
UPI05 committed Aug 19, 2024
1 parent be18ea2 commit bd6622b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,28 @@ on:

jobs:

security:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@master

- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/node@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}

build:

needs: security

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Build the frontend image .
- name: Build the frontend image
run: cd frontend && npm install && npm run build && cd .. && docker build . -f ./Dockerfile_frontend -t upi05/frontend

- name: Build the apiserver image
Expand Down Expand Up @@ -44,4 +58,5 @@ jobs:
argocd login ${{ secrets.ARGOCD_SERVER }} \
--username ${{ secrets.ARGOCD_USERNAME }} \
--password ${{ secrets.ARGOCD_PASSWD }} \
&& argocd app sync d1l1th1um --force --replace
&& argocd app sync d1l1th1um --force --replace
2 changes: 1 addition & 1 deletion frontend/src/components/StickyNote.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function StickyNote() {

return (
<div>
<h1>Sticky Notes 1</h1>
<h1>Sticky Notes:</h1>
<div>
<input
type="text"
Expand Down

0 comments on commit bd6622b

Please sign in to comment.