Skip to content

Workflow file for this run

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