Skip to content

Commit

Permalink
fix: change openjdk
Browse files Browse the repository at this point in the history
  • Loading branch information
vicheanath committed Feb 8, 2024
1 parent 8f6589e commit 93985be
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build-push-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ name: Build and Publish Docker Image

on:
release:
types: [created]
types: [created, published]
version: 'v*.*.*'


jobs:
build:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,13 @@ name: Test and Build
on:
push:
branches: [ "main" ]
paths:
- 'backend/**'
pull_request:
branches: [ "main" ]
paths:
- 'backend/**'


jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion backend/pms/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openjdk:8-jdk-alpine
FROM openjdk:17-jdk-alpine

WORKDIR /app

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

import java.security.Principal;

import java.util.List;

@CrossOrigin(origins = "http://localhost:3000")
@RestController
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion frontend/src/pages/Favorite.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const Favorite = () => {
{data.map((property) => {
return (
<Col md={4} key={property.id} className="mb-4">
<Property key={property.id} {...property} refetch={refetch} />
<Property key={property.id} {...property} refetch={refetch}/>
</Col>
)
})}
Expand Down

0 comments on commit 93985be

Please sign in to comment.