diff --git a/.github/settings.yml b/.github/settings.yml new file mode 100644 index 00000000..9267e7d0 --- /dev/null +++ b/.github/settings.yml @@ -0,0 +1,2 @@ +# These settings are synced to GitHub by https://probot.github.io/apps/settings/ +_extends: .github diff --git a/.github/workflows/basic-linters.yml b/.github/workflows/basic-linters.yml new file mode 100644 index 00000000..6114f14f --- /dev/null +++ b/.github/workflows/basic-linters.yml @@ -0,0 +1,10 @@ +name: Vality basic linters + +on: + pull_request: + branches: + - "*" + +jobs: + lint: + uses: valitydev/base-workflows/.github/workflows/basic-linters.yml@v1 diff --git a/LICENSE b/LICENSE index 2bb9ad24..d9a10c0d 100644 --- a/LICENSE +++ b/LICENSE @@ -173,4 +173,4 @@ incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. - END OF TERMS AND CONDITIONS \ No newline at end of file + END OF TERMS AND CONDITIONS diff --git a/src/main/resources/Dockerfile b/src/main/resources/Dockerfile index b07ce640..683c73b1 100644 --- a/src/main/resources/Dockerfile +++ b/src/main/resources/Dockerfile @@ -2,12 +2,12 @@ FROM openjdk:15-jdk-slim RUN useradd -s /bin/false -U -u 20000 vality -COPY --chown=vality:vality @artifactId@-@version@.jar /opt/@artifactId@/@artifactId@.jar +COPY --chown=vality:vality ${artifactId}-${version}.jar /opt/${artifactId}/${artifactId}.jar USER vality:vality CMD ["java", "-jar","/opt/@artifactId@/@artifactId@.jar"] -EXPOSE @exposed.ports@ +EXPOSE ${exposed.ports} -WORKDIR /opt/@artifactId@ +WORKDIR /opt/${artifactId}