fixed build

This commit is contained in:
anhefti 2023-03-07 14:01:13 +01:00
parent 5712009173
commit f6ff01386e

View file

@ -37,7 +37,7 @@ jobs:
run: mvn clean install -e -P let_reporting
-
name: Reporting
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v2
with:
flags: unittests
name: SEB Server Build
@ -69,16 +69,16 @@ jobs:
echo ${{ env.TAG_NAME }}
-
name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
-
name: Set up JDK 11
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
-
name: Cache Maven packages
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
@ -92,7 +92,7 @@ jobs:
name: Simplify package name
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:
name: Package
path: target/seb-server.jar
@ -120,10 +120,10 @@ jobs:
echo ${{ env.TAG_NAME }}
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3
-
name: Login to DockerHub
uses: docker/login-action@v1
@ -132,7 +132,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
# Install the cosign tool except on PR
# https://github.com/sigstore/cosign-installer
@ -142,7 +142,7 @@ jobs:
uses: sigstore/cosign-installer@main
-
name: Download a single artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: Package
-
@ -156,7 +156,7 @@ jobs:
-
name: Build and push
id: docker_build
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
context: .
file: ./docker/Dockerfile