Skip to content

Modified intervals endpoint to return complete info on genes, transcr… #1724

Modified intervals endpoint to return complete info on genes, transcr…

Modified intervals endpoint to return complete info on genes, transcr… #1724

name: Build and publish docker image (stage)
on: [push]
jobs:
docker-image-push:
runs-on: ubuntu-latest
steps:
- name: Check out git repository
uses: actions/checkout@v4
- name: Extract branch name and remove illegal chars
id: get_branch_name
shell: bash
run: echo "branch=$(echo "$(tr "/" "-" <<<${GITHUB_REF#refs/heads/})")" >>$GITHUB_OUTPUT
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
id: docker_build
uses: docker/build-push-action@v4
with:
context: ./
file: ./Dockerfile
push: true
tags: "clinicalgenomics/chanjo2-stage:${{steps.get_branch_name.outputs.branch}}, clinicalgenomics/chanjo2-stage:latest"