Skip to content

Commit

Permalink
Merge pull request #40 from genomic-medicine-sweden/nanopore_docker
Browse files Browse the repository at this point in the history
Update dockerfile for nanopore
  • Loading branch information
sofstam authored Nov 30, 2021
2 parents 12ecbd9 + 6fcf54c commit c2bf7dd
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/build_dockerfile.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Update docker for artic-ncov2019-illumina
name: Update docker for artic-ncov2019-illumina, artic-ncov2019-nanopore

on:
schedule:
- cron: '0 0 * * *'
push:
branches:
- GHactions_37d2b7a
- nanopore_docker
jobs:
get-version:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -87,7 +87,12 @@ jobs:
constellations_VER=$(cat versions/constellations-latest-version.txt | sed 's|v||')
pangodesign_VER=$(cat versions/pangodesignation-latest-version.txt | sed 's|v||' )
docker build --no-cache -f environments/illumina/Dockerfile -t genomicmedicinesweden/gms-artic-illumina:latest -t genomicmedicinesweden/gms-artic-illumina:${{ steps.date.outputs.date }}-p-${REPO_VER}-L-${pangoLEARN_VER}-c-${constellations_VER}-d-${pangodesign_VER}-s-${scorpio_VER} .
#Build docker for nanopore
docker build --no-cache -f environments/nanopore/Dockerfile -t genomicmedicinesweden/gms-artic-nanopore:latest -t genomicmedicinesweden/gms-artic-nanopore:${{ steps.date.outputs.date }}-p-${REPO_VER}-L-${pangoLEARN_VER}-c-${constellations_VER}-d-${pangodesign_VER}-s-${scorpio_VER} .
#Build docker for pangolin-check for specific requirements
docker build --no-cache -f environments/nanopore/pangolin/Dockerfile -t genomicmedicinesweden/gms-artic-pangolin:latest -t genomicmedicinesweden/gms-artic-pangolin:${{ steps.date.outputs.date }}-p-${REPO_VER}-L-${pangoLEARN_VER}-c-${constellations_VER}-d-${pangodesign_VER}-s-${scorpio_VER} .
- name: Push Docker image to DockerHub
shell: bash
run: |
Expand All @@ -98,4 +103,9 @@ jobs:
pangodesign_VER=$(cat versions/pangodesignation-latest-version.txt | sed 's|v||' )
docker image push genomicmedicinesweden/gms-artic-illumina:latest
docker image push genomicmedicinesweden/gms-artic-illumina:${{ steps.date.outputs.date }}-p-${REPO_VER}-L-${pangoLEARN_VER}-c-${constellations_VER}-d-${pangodesign_VER}-s-${scorpio_VER}
#Push to dockerhub for nanopore
docker image push genomicmedicinesweden/gms-artic-nanopore:latest
docker image push genomicmedicinesweden/gms-artic-nanopore:${{ steps.date.outputs.date }}-p-${REPO_VER}-L-${pangoLEARN_VER}-c-${constellations_VER}-d-${pangodesign_VER}-s-${scorpio_VER}
#Push to dockerhub for pangolin with specific requirements
docker image push genomicmedicinesweden/gms-artic-pangolin:latest
docker image push genomicmedicinesweden/gms-artic-pangolin:${{ steps.date.outputs.date }}-p-${REPO_VER}-L-${pangoLEARN_VER}-c-${constellations_VER}-d-${pangodesign_VER}-s-${scorpio_VER}

0 comments on commit c2bf7dd

Please sign in to comment.