Skip to content

Merge pull request #8 from ikmb/devel #63

Merge pull request #8 from ikmb/devel

Merge pull request #8 from ikmb/devel #63

name: Docker
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
push_dockerhub:
name: Push new Docker image to Docker Hub (latest)
runs-on: ubuntu-latest
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PASS: ${{ secrets.DOCKERHUB_TOKEN }}
steps:
- name: Check out pipeline code
uses: actions/checkout@v2
- name: Build new docker image
run: docker build --no-cache . -t ikmb/dragen-variant-calling:latest
- name: Push Docker image to DockerHub (latest)
run: |
echo "$DOCKERHUB_PASS" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin
docker push ikmb/dragen-variant-calling:latest