Skip to content

Merge pull request #659 from NUM-Forschungsdatenplattform/release/1.22.0 #8

Merge pull request #659 from NUM-Forschungsdatenplattform/release/1.22.0

Merge pull request #659 from NUM-Forschungsdatenplattform/release/1.22.0 #8

Workflow file for this run

name: Release new tag
on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: 'maven'
- name: Login to docker hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push docker image
run: |
mvn spring-boot:build-image -Dspring-boot.build-image.imageName=numforschungsdatenplattform/num-portal:${{ github.ref_name }} -DskipTests
docker push numforschungsdatenplattform/num-portal:${{ github.ref_name }}
echo "### :rocket: ${{ github.ref_name }}" >> $GITHUB_STEP_SUMMARY