Compare commits
No commits in common. "39164401e678ba12989d70429c25f12e658af13d" and "4ffd6461d762cea1ba63565cf5f2fa46d635c73d" have entirely different histories.
39164401e6
...
4ffd6461d7
3 changed files with 2 additions and 36 deletions
|
@ -28,3 +28,5 @@ jobs:
|
||||||
- uses: https://github.com/gradle/actions/setup-gradle@v4
|
- uses: https://github.com/gradle/actions/setup-gradle@v4
|
||||||
- name: Build gradle project
|
- name: Build gradle project
|
||||||
run: ./gradlew build
|
run: ./gradlew build
|
||||||
|
env:
|
||||||
|
ORG_GRADLE_PROJECT_SPRING_DEBUG: ${{ fromJSON(steps.pr-env.outputs.result).SPRING_DEBUG }}
|
||||||
|
|
|
@ -9,11 +9,6 @@ concurrency:
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
|
||||||
env:
|
|
||||||
HTTP_PROXY: http://6.fsn1-1.forsaken-ashbirds.net:8888
|
|
||||||
HTTPS_PROXY: http://6.fsn1-1.forsaken-ashbirds.net:8888
|
|
||||||
GRADLE_OPTS: -Dhttp.proxyHost=6.fsn1-1.forsaken-ashbirds.net -Dhttp.proxyPort=8888 -Dhttps.proxyHost=6.fsn1-1.forsaken-ashbirds.net -Dhttps.proxyPort=8888
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check-formatting:
|
check-formatting:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
|
|
31
Dockerfile
31
Dockerfile
|
@ -1,31 +0,0 @@
|
||||||
FROM node:22 AS fe-build
|
|
||||||
|
|
||||||
RUN mkdir /mnt/workspace
|
|
||||||
WORKDIR /mnt/workspace
|
|
||||||
|
|
||||||
COPY ./frontend /mnt/workspace
|
|
||||||
|
|
||||||
RUN npm install --global pnpm \
|
|
||||||
&& pnpm install \
|
|
||||||
&& pnpm run build \
|
|
||||||
|
|
||||||
FROM gradle AS be-build
|
|
||||||
|
|
||||||
RUN mkdir /mnt/workspace
|
|
||||||
WORKDIR /mnt/workspace
|
|
||||||
|
|
||||||
COPY --exclude=./frontend . ./mnt/workspace
|
|
||||||
|
|
||||||
RUN ./gradlew -x test build
|
|
||||||
|
|
||||||
FROM eclipse-temurin:21-jre-nanoserver
|
|
||||||
|
|
||||||
ENV USE_SYSTEM_CA_CERTS=1
|
|
||||||
|
|
||||||
RUN mkdir /opt/home-cert-assistant
|
|
||||||
WORKDIR /opt/home-cert-assistant
|
|
||||||
|
|
||||||
COPY --from=fe-build /mnt/workspace/dist /opt/home-cert-assistant/frontend
|
|
||||||
COPY --from=be-build /mnt/workspace/build/home-cert-assistant-0.0.1-SNAPSHOT.jar /opt/home-cert-assistant/
|
|
||||||
|
|
||||||
CMD ["java", "-jar", "/opt/home-cert-assistant/.jar"]
|
|
Loading…
Add table
Reference in a new issue