Skip to content

Release new tag

Release new tag #33

Workflow file for this run

name: Release new tag
on:
create:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node 20
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- 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
uses: docker/build-push-action@v6
with:
push: true
tags: numforschungsdatenplattform/num-portal-webapp:${{ github.ref_name }}
- name: Print Release Version
run: |
echo "### :rocket: ${{ github.ref_name }}" >> $GITHUB_STEP_SUMMARY