Skip to content

Commit 21abba7

Browse files
authored
fix: changed license (#27)
1 parent 5f67f26 commit 21abba7

File tree

7 files changed

+21086
-40
lines changed

7 files changed

+21086
-40
lines changed

.github/workflows/pr-check.yaml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,6 @@ jobs:
3333
distribution: 'temurin'
3434
cache: 'maven'
3535

36-
# 1. Esegue i test e crea il pacchetto (JAR)
37-
# Se questo fallisce, la Docker build non parte nemmeno.
38-
- name: 🧪 Run Maven Verify
39-
run: mvn verify -B
40-
4136
# 2. Login al registro (necessario per il push)
4237
- name: 🛃 Log in to Github Container registry
4338
uses: docker/login-action@v3
@@ -54,8 +49,7 @@ jobs:
5449
with:
5550
images: ghcr.io/${{ github.repository }}
5651
tags: |
57-
type=ref,event=pr
58-
type=sha,format=short
52+
type=raw,value=snapshot-${{ github.head_ref || github.ref_name }}
5953
6054
# 4. Costruisce l'immagine e la PUSHA sul registro
6155
# Usa il contesto '.' quindi include il JAR appena compilato sopra

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,4 @@ target
1212
TODO.md
1313

1414
src/main/frontend/build
15-
src/main/frontend/package-lock.json
1615
/target/

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ WORKDIR /
55
# build war file
66
COPY src /webapp/src
77
COPY pom.xml /webapp/pom.xml
8-
RUN mvn clean package
8+
RUN cd /webapp && mvn clean package
99

1010
FROM tomcat:jre21
1111
COPY --from=build-stage /webapp/target/ess.war /tmp

LICENSE.md

Lines changed: 674 additions & 21 deletions
Large diffs are not rendered by default.

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@
145145
<arguments>run build</arguments>
146146
<environmentVariables>
147147
<PUBLIC_URL>.</PUBLIC_URL>
148+
<CI>false</CI>
148149
</environmentVariables>
149150
</configuration>
150151
</execution>

0 commit comments

Comments
 (0)