Skip to content

Commit c2bf7dd

Browse files
authoredNov 30, 2021
Merge pull request #40 from genomic-medicine-sweden/nanopore_docker
Update dockerfile for nanopore
2 parents 12ecbd9 + 6fcf54c commit c2bf7dd

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed
 

‎.github/workflows/build_dockerfile.yml

+14-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
name: Update docker for artic-ncov2019-illumina
1+
name: Update docker for artic-ncov2019-illumina, artic-ncov2019-nanopore
22

33
on:
44
schedule:
55
- cron: '0 0 * * *'
66
push:
77
branches:
8-
- GHactions_37d2b7a
8+
- nanopore_docker
99
jobs:
1010
get-version:
1111
runs-on: ubuntu-latest
@@ -87,7 +87,12 @@ jobs:
8787
constellations_VER=$(cat versions/constellations-latest-version.txt | sed 's|v||')
8888
pangodesign_VER=$(cat versions/pangodesignation-latest-version.txt | sed 's|v||' )
8989
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} .
90-
90+
#Build docker for nanopore
91+
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} .
92+
#Build docker for pangolin-check for specific requirements
93+
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} .
94+
95+
9196
- name: Push Docker image to DockerHub
9297
shell: bash
9398
run: |
@@ -98,4 +103,9 @@ jobs:
98103
pangodesign_VER=$(cat versions/pangodesignation-latest-version.txt | sed 's|v||' )
99104
docker image push genomicmedicinesweden/gms-artic-illumina:latest
100105
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}
101-
106+
#Push to dockerhub for nanopore
107+
docker image push genomicmedicinesweden/gms-artic-nanopore:latest
108+
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}
109+
#Push to dockerhub for pangolin with specific requirements
110+
docker image push genomicmedicinesweden/gms-artic-pangolin:latest
111+
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 commit comments

Comments
 (0)
Please sign in to comment.