Bug Fix: destination connector will be now aborted when source connec… #9
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: valmi-connectors | |
on: | |
push: | |
tags: | |
- 'valmi-connector/*/*.*.*' | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
name: ${{github.ref_name}} | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Parse Connector Info | |
id: vars | |
run: | | |
tag=${GITHUB_REF#refs/*/} | |
connector_tag=${tag#valmi-connector/} | |
echo "connector_name=${connector_tag%/*}" >> $GITHUB_OUTPUT | |
echo "version=${connector_tag#*/}" >> $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 Connector Docker Image | |
env: | |
connector_name: ${{steps.vars.outputs.connector_name}} | |
version: ${{steps.vars.outputs.version}} | |
run: make build-and-push-connector |