fixed docker build

This commit is contained in:
anhefti 2021-09-23 12:53:26 +02:00
parent 2fd3850186
commit 91131fc506

View file

@ -85,12 +85,12 @@ jobs:
restore-keys: ${{ runner.os }}-m2 restore-keys: ${{ runner.os }}-m2
- -
name: Build with Maven name: Build with Maven
run: mvn clean install -Dmaven.test.skip=true -Dsebserver-version="${{ env.TAG_NAME }}" run: mvn clean install -Dmaven.test.skip=true -Dsebserver-version="${{ env.TAG_NAME }}-${{ env.SHA }}"
env: env:
sebserver-version: ${{ env.TAG_NAME }} (${{ env.SHA }}) sebserver-version: ${{ env.TAG_NAME }}-${{ env.SHA }}
- -
name: Simplify package name name: Simplify package name
run: mv target/seb-server-${{ env.TAG_NAME }}.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@v2
with: with: