fixed build
This commit is contained in:
parent
5712009173
commit
f6ff01386e
1 changed files with 10 additions and 10 deletions
20
.github/workflows/buildReporting.yml
vendored
20
.github/workflows/buildReporting.yml
vendored
|
@ -37,7 +37,7 @@ jobs:
|
||||||
run: mvn clean install -e -P let_reporting
|
run: mvn clean install -e -P let_reporting
|
||||||
-
|
-
|
||||||
name: Reporting
|
name: Reporting
|
||||||
uses: codecov/codecov-action@v1
|
uses: codecov/codecov-action@v2
|
||||||
with:
|
with:
|
||||||
flags: unittests
|
flags: unittests
|
||||||
name: SEB Server Build
|
name: SEB Server Build
|
||||||
|
@ -69,16 +69,16 @@ jobs:
|
||||||
echo ${{ env.TAG_NAME }}
|
echo ${{ env.TAG_NAME }}
|
||||||
-
|
-
|
||||||
name: Checkout repository
|
name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
-
|
-
|
||||||
name: Set up JDK 11
|
name: Set up JDK 11
|
||||||
uses: actions/setup-java@v2
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
java-version: '11'
|
java-version: '11'
|
||||||
distribution: 'adopt'
|
distribution: 'adopt'
|
||||||
-
|
-
|
||||||
name: Cache Maven packages
|
name: Cache Maven packages
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: ~/.m2
|
path: ~/.m2
|
||||||
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
|
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
|
||||||
|
@ -92,7 +92,7 @@ jobs:
|
||||||
name: Simplify package name
|
name: Simplify package name
|
||||||
run: mv target/seb-server-${{ env.TAG_NAME }}-${{ env.SHA }}.jar target/seb-server.jar
|
run: mv target/seb-server-${{ env.TAG_NAME }}-${{ env.SHA }}.jar target/seb-server.jar
|
||||||
-
|
-
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: Package
|
name: Package
|
||||||
path: target/seb-server.jar
|
path: target/seb-server.jar
|
||||||
|
@ -120,10 +120,10 @@ jobs:
|
||||||
echo ${{ env.TAG_NAME }}
|
echo ${{ env.TAG_NAME }}
|
||||||
-
|
-
|
||||||
name: Set up QEMU
|
name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v1
|
uses: docker/setup-qemu-action@v3
|
||||||
-
|
-
|
||||||
name: Set up Docker Buildx
|
name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v3
|
||||||
-
|
-
|
||||||
name: Login to DockerHub
|
name: Login to DockerHub
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
|
@ -132,7 +132,7 @@ jobs:
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
-
|
-
|
||||||
name: Checkout repository
|
name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
# Install the cosign tool except on PR
|
# Install the cosign tool except on PR
|
||||||
# https://github.com/sigstore/cosign-installer
|
# https://github.com/sigstore/cosign-installer
|
||||||
|
@ -142,7 +142,7 @@ jobs:
|
||||||
uses: sigstore/cosign-installer@main
|
uses: sigstore/cosign-installer@main
|
||||||
-
|
-
|
||||||
name: Download a single artifact
|
name: Download a single artifact
|
||||||
uses: actions/download-artifact@v2
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: Package
|
name: Package
|
||||||
-
|
-
|
||||||
|
@ -156,7 +156,7 @@ jobs:
|
||||||
-
|
-
|
||||||
name: Build and push
|
name: Build and push
|
||||||
id: docker_build
|
id: docker_build
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: ./docker/Dockerfile
|
file: ./docker/Dockerfile
|
||||||
|
|
Loading…
Reference in a new issue