Skip to content

Merge branch 'master' of ssh://github.com/reacherhq/check-if-email-ex… #74

Merge branch 'master' of ssh://github.com/reacherhq/check-if-email-ex…

Merge branch 'master' of ssh://github.com/reacherhq/check-if-email-ex… #74

Workflow file for this run

name: deploy_backend
on:
push:
tags:
- "v*.*.*"
jobs:
docker-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set GITHUB_TAG arg
id: vars
run: echo ::set-output name=GITHUB_TAG::${GITHUB_REF:10} # Remove /refs/head/
- name: Print version
run: echo "Publishing reacherhq/backend:${{ steps.vars.outputs.GITHUB_TAG }}"
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: reacherhq/backend
dockerfile: backend/Dockerfile
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
tags: "${{ steps.vars.outputs.GITHUB_TAG }},beta"