fix(backend): Fix env var for multiple queues #67
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: 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" |