various fixes?

This commit is contained in:
Aleksandr Chikovani 2023-08-28 23:02:11 -04:00
parent d5cc1e62b9
commit 2ae475de74
2 changed files with 4 additions and 5 deletions

View file

@ -12,7 +12,8 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: thehanimo/pr-title-checker@v1.4.0 - name: PR title check
uses: thehanimo/pr-title-checker@v1.4.0
with: with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v3 - uses: actions/checkout@v3
@ -39,7 +40,7 @@ jobs:
- name: Test - name: Test
run: ./gradlew test run: ./gradlew test
- name: Build - name: Build
run: ./gradlew build -x test -x checkstyleMain run: ./gradlew build -x test -x checkstyleMain -x checkstyleAot
docker_build: docker_build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -61,8 +62,6 @@ jobs:
run: git config --global url.https://github.com/.insteadOf ssh://git@github.com/ run: git config --global url.https://github.com/.insteadOf ssh://git@github.com/
- name: Checkout project - name: Checkout project
uses: actions/checkout@v3 uses: actions/checkout@v3
with:
repository: 'jshttp/mime-types'
- name: Run GitHub Action for ORT - name: Run GitHub Action for ORT
uses: oss-review-toolkit/ort-ci-github-action@v1 uses: oss-review-toolkit/ort-ci-github-action@v1
with: with:

View file

@ -3,7 +3,7 @@ ARG VERSION undefined
ENV VERSION=$VERSION ENV VERSION=$VERSION
WORKDIR /app WORKDIR /app
COPY . . 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 FROM eclipse-temurin@sha256:e90e0d654765ab3ae33f5c5155daafa4a907d0d738ce98c3be8f402a8edcee2b
ENV PORT 8080 ENV PORT 8080