fixed build

This commit is contained in:
anhefti 2023-03-07 14:11:20 +01:00
parent f6ff01386e
commit 73b44e29c3

View file

@ -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@v2 uses: codecov/codecov-action@v3
with: with:
flags: unittests flags: unittests
name: SEB Server Build name: SEB Server Build
@ -52,7 +52,7 @@ jobs:
steps: steps:
- -
name: Get short SHA name: Get short SHA
uses: benjlevesque/short-sha@v1.2 uses: benjlevesque/short-sha@v2
id: short-sha id: short-sha
- -
name: Store short SHA as environment variable name: Store short SHA as environment variable
@ -123,10 +123,10 @@ jobs:
uses: docker/setup-qemu-action@v3 uses: docker/setup-qemu-action@v3
- -
name: Set up Docker Buildx name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v2
- -
name: Login to DockerHub name: Login to DockerHub
uses: docker/login-action@v1 uses: docker/login-action@v2
with: with:
username: ${{ secrets.DOCKERHUB_USERNAME }} username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}
@ -148,7 +148,7 @@ jobs:
- -
name: Extract metadata (tags, labels) for Docker name: Extract metadata (tags, labels) for Docker
id: meta id: meta
uses: docker/metadata-action@v3 uses: docker/metadata-action@v4
with: with:
images: anhefti/seb-server images: anhefti/seb-server
tags: | tags: |
@ -156,7 +156,7 @@ jobs:
- -
name: Build and push name: Build and push
id: docker_build id: docker_build
uses: docker/build-push-action@v3 uses: docker/build-push-action@v4
with: with:
context: . context: .
file: ./docker/Dockerfile file: ./docker/Dockerfile