Skip to content

Commit

Permalink
Merge 380ad7c into 1612e24
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikstranneheim committed Dec 9, 2020
2 parents 1612e24 + 380ad7c commit 2f686c2
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build_and_publish_latest_docker.yml
@@ -0,0 +1,24 @@

name: Publish bleeding edge to Docker Hub

on:
push:
branches:
- develop

jobs:
docker-image-CI:
name: Docker Image CI
runs-on: ubuntu-latest
steps:

- name: Check out git repository
uses: actions/checkout@v2

- name: Build and publish to Docker Hub
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: clinicalgenomics/mip
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
tags: "latest"
24 changes: 24 additions & 0 deletions .github/workflows/build_and_publish_prod_docker.yml
@@ -0,0 +1,24 @@

name: Publish production release to Docker Hub

on:
release:
types:
- created

jobs:
docker-image-CI:
name: Docker Image CI
runs-on: ubuntu-latest
steps:

- name: Check out git repository
uses: actions/checkout@v2

- name: Build and publish to Docker Hub
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: clinicalgenomics/mip
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
tags: "${{ github.event.release.tag_name }}"

0 comments on commit 2f686c2

Please sign in to comment.