mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-23 00:05:50 +00:00
various fixes?
This commit is contained in:
parent
d5cc1e62b9
commit
2ae475de74
2 changed files with 4 additions and 5 deletions
7
.github/workflows/gradle-build.yml
vendored
7
.github/workflows/gradle-build.yml
vendored
|
@ -12,7 +12,8 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: thehanimo/pr-title-checker@v1.4.0
|
||||
- name: PR title check
|
||||
uses: thehanimo/pr-title-checker@v1.4.0
|
||||
with:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: actions/checkout@v3
|
||||
|
@ -39,7 +40,7 @@ jobs:
|
|||
- name: Test
|
||||
run: ./gradlew test
|
||||
- name: Build
|
||||
run: ./gradlew build -x test -x checkstyleMain
|
||||
run: ./gradlew build -x test -x checkstyleMain -x checkstyleAot
|
||||
|
||||
docker_build:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -61,8 +62,6 @@ jobs:
|
|||
run: git config --global url.https://github.com/.insteadOf ssh://git@github.com/
|
||||
- name: Checkout project
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
repository: 'jshttp/mime-types'
|
||||
- name: Run GitHub Action for ORT
|
||||
uses: oss-review-toolkit/ort-ci-github-action@v1
|
||||
with:
|
||||
|
|
|
@ -3,7 +3,7 @@ ARG VERSION undefined
|
|||
ENV VERSION=$VERSION
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN ./gradlew build -x test -x checkstyleMain -Pversion=$VERSION
|
||||
RUN ./gradlew build -x test -x checkstyleAot -x checkstyleMain -Pversion=$VERSION
|
||||
|
||||
FROM eclipse-temurin@sha256:e90e0d654765ab3ae33f5c5155daafa4a907d0d738ce98c3be8f402a8edcee2b
|
||||
ENV PORT 8080
|
||||
|
|
Loading…
Reference in a new issue