Skip to content

Release v7.9.1

Release v7.9.1 #158

name: Push to Docker Hub on new release event
on:
release:
types:
- created
jobs:
docker-image-release_push:
# Push to Docker Hub when a new release is created
runs-on: ubuntu-latest
steps:
- name: Check Out Repo
uses: actions/checkout@v2
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
context: ./
file: ./Dockerfile
push: true
tags: "clinicalgenomics/cg_lims:${{github.event.release.tag_name}}, clinicalgenomics/cg_lims:latest"