Skip to content

Merge branch 'dev' of github.com:valmi-io/valmi-app-backend into dev #32

Merge branch 'dev' of github.com:valmi-io/valmi-app-backend into dev

Merge branch 'dev' of github.com:valmi-io/valmi-app-backend into dev #32

name: valmi-app-backend
on:
push:
tags:
- 'valmi-app-backend/*.*.*'
jobs:
release:
runs-on: ubuntu-latest
name: ${{github.ref_name}}
steps:
- uses: actions/checkout@v2
- name: Parse Connector Info
id: vars
run: |
tag=${GITHUB_REF#refs/*/}
echo "version=${tag#valmi-app-backend/}" >> $GITHUB_OUTPUT
- name: Setup Docker BuildX
run: make setup-buildx
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build valmi-app-backend Docker Image
env:
version: ${{steps.vars.outputs.version}}
run: make build-and-push