Skip to content

Merge branch 'main' of github.com:valmi-io/valmi-app-backend #18

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

Merge branch 'main' of github.com:valmi-io/valmi-app-backend #18

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