Skip to content

Bump org.msgpack:msgpack-core from 0.9.5 to 0.9.6 (#572) #117

Bump org.msgpack:msgpack-core from 0.9.5 to 0.9.6 (#572)

Bump org.msgpack:msgpack-core from 0.9.5 to 0.9.6 (#572) #117

Workflow file for this run

# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Release with mvn
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
-
name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven
-
name: app version
run: |
echo "app_ver=$(mvn -B help:evaluate -Dexpression=project.version -q -DforceStdout)"
echo "app_ver=$(mvn -B help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV
-
name: Build with Maven
run: mvn -B clean integration-test package assembly:single docker:build
# github_release:
-
name: github release
if: ${{ ! endsWith( env.app_ver, '-SNAPSHOT' ) }}
uses: ncipollo/release-action@v1
with:
artifacts: "./target/kafdrop-*.jar"
token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ env.app_ver }}
commit: "master"
generateReleaseNotes: true
# Docker hub action
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: push snapshot version
run: |
echo publishing docker container $app_ver
docker push docker.io/obsidiandynamics/kafdrop:$app_ver
-
name: push latest if it's a release
if: ${{ ! endsWith( env.app_ver, '-SNAPSHOT' ) }}
run: docker push docker.io/obsidiandynamics/kafdrop:latest