Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updating fork to be in sync with upstream staphb docker-builds repo #1

Merged
merged 637 commits into from
Sep 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
637 commits
Select commit Hold shift + click to select a range
dee8fcb
Merge pull request #890 from Kincekara/verkko
erinyoung Feb 28, 2024
691ff18
adds metaphlan 4.1.0
Kincekara Feb 29, 2024
ef94c28
adds ska2
Kincekara Feb 29, 2024
e0dc3af
update readme
Kincekara Feb 29, 2024
e9fd9fb
fix test
Kincekara Feb 29, 2024
f9c56b4
Merge pull request #893 from Kincekara/ska2
erinyoung Mar 4, 2024
b5307af
Merge pull request #892 from Kincekara/metaphlan
erinyoung Mar 4, 2024
7326556
adding augur version 24.2.3 (#898)
erinyoung Mar 7, 2024
7f64a6d
adding circulocov version 0.1.20240104 (#897)
erinyoung Mar 7, 2024
177fca8
adding aci version 1.4.20240116 (#896)
erinyoung Mar 7, 2024
4e44db4
adding bandage 0.8.1 (#895)
erinyoung Mar 7, 2024
a45afbf
update irma
Kincekara Mar 7, 2024
fed056e
update readme
Kincekara Mar 8, 2024
9887186
update kma
Kincekara Mar 8, 2024
3a46a7b
adds pyMLST
Kincekara Mar 8, 2024
08afa8c
update readme
Kincekara Mar 8, 2024
e902f64
update multiple GHActions workflows & new mlst update (#881)
kapsakcj Mar 8, 2024
28dd7e5
Merge pull request #900 from Kincekara/kma
erinyoung Mar 8, 2024
66bfdee
Merge pull request #899 from Kincekara/irma
erinyoung Mar 8, 2024
bacaaef
update commands
Kincekara Mar 8, 2024
ebe836b
Github Action for Keeping MLST's Schemes current (#894)
erinyoung Mar 8, 2024
52fa66d
Update Dockerfile
erinyoung Mar 11, 2024
2842133
Merge pull request #901 from Kincekara/pymlst
erinyoung Mar 11, 2024
5e2d342
Replace file with context (#902)
erinyoung Mar 11, 2024
80f28b1
adds dockerfile and readme for pangolin 4.3.1 and pdata 1.26
kapsakcj Mar 12, 2024
c05f5d1
update main readme with new pangolin version and link to subdir
kapsakcj Mar 12, 2024
c17ba64
update pangolin readme
kapsakcj Mar 12, 2024
3f38d8c
actually run the sed command on the pangolin environment.yml file *fa…
kapsakcj Mar 12, 2024
65cf2fd
Merge pull request #904 from StaPH-B/cjk-pdata-1.26
erinyoung Mar 14, 2024
041e763
adding ncbi datasets version 16.8.1 (#919)
erinyoung Mar 18, 2024
ffdb86d
adding parsnp 2.0.4 (#920)
erinyoung Mar 18, 2024
cbc64cb
adding skesa version 2.5.1 (#918)
erinyoung Mar 18, 2024
57a5b53
adding seqkit version 2.8.0 (#917)
erinyoung Mar 18, 2024
17775f3
Update Dockerfile
jvhagey Mar 19, 2024
c1b020c
adding bakta version 1.9.3 (#914)
erinyoung Mar 19, 2024
43e30e3
adding fasten 0.8.1 (#913)
erinyoung Mar 19, 2024
247e06a
Update Dockerfile
jvhagey Mar 19, 2024
c46a081
Merge branch 'StaPH-B:master' into master
jvhagey Mar 19, 2024
48c1913
update blast
jvhagey Mar 19, 2024
2b45a6a
Update README.md with blast version
jvhagey Mar 19, 2024
dfb487c
Merge pull request #922 from jvhagey/master
erinyoung Mar 19, 2024
5c238a8
adding ontime version 0.3.1 (#906)
erinyoung Mar 20, 2024
1ede6c9
adding mafft version 7.520 (#924)
erinyoung Mar 20, 2024
435bdec
adding bbtools versions 39.06 (#925)
erinyoung Mar 20, 2024
92bff2f
Adds Freyja version 1.5.0 (#923)
erinyoung Mar 21, 2024
85f76fe
add VADR 1.6.3 with HAV model and test (#864)
cimendes Mar 21, 2024
10f4433
add lima
Kincekara Mar 25, 2024
2dd2573
remove copy lines
Kincekara Mar 25, 2024
7691883
fix problems
Kincekara Mar 25, 2024
fb20f90
adding resfinder 4.5.0 (#930)
erinyoung Mar 25, 2024
2803629
plasmidfinder with updated database (#929)
erinyoung Mar 25, 2024
da7f201
fix test
Kincekara Mar 25, 2024
449558e
Merge branch 'StaPH-B:master' into master
Kincekara Mar 26, 2024
a501706
remove lima tarball
Kincekara Mar 26, 2024
6324d75
Adding table2asn version 1.28.943 (#932)
erinyoung Mar 26, 2024
09aafb6
Merge pull request #934 from Kincekara/master
erinyoung Mar 26, 2024
767e293
adding minimap2 2.27 (#911)
erinyoung Mar 27, 2024
a82273b
add polkapox graph reconstruction container
Mar 27, 2024
a8cab4a
Added polkapox
erinyoung Mar 27, 2024
e181eb6
redoing tests
erinyoung Mar 27, 2024
09dc0f0
update my_test.sh data and add necessary file
Mar 27, 2024
db469cb
update my_tests.sh and add a file
Mar 27, 2024
a21d205
Use wget to download files
erinyoung Mar 27, 2024
295f57d
Delete polkapox/1.0.0-beta/LIY15561A68_2022_1748_IN.assembly.gfa
erinyoung Mar 27, 2024
d511d3a
Delete polkapox/1.0.0-beta/LIY15561A68_2022_1748_IN.assembly.log
erinyoung Mar 27, 2024
6752a77
Delete polkapox/1.0.0-beta/my_tests.sh
erinyoung Mar 27, 2024
e1942c5
Delete polkapox/1.0.0-beta/mpxv-AssemblyGraph_gfaPy.py
erinyoung Mar 27, 2024
972f2e5
Delete polkapox/1.0.0-beta/LIY15561A68_2022_1748_IN.assembly_longest.…
erinyoung Mar 27, 2024
c216ccb
Delete polkapox/1.0.0-beta/MPXV-UK_P2.noN_39086_40204.fasta
erinyoung Mar 27, 2024
e011aca
Merge pull request #935 from jessicarowell/master
erinyoung Mar 27, 2024
8dd7324
update tostadas container to include additional py libraries required…
Mar 27, 2024
cbadbb7
add tool version to README
Mar 27, 2024
c5d7b57
add pbtk
Kincekara Mar 28, 2024
8f44a96
adds pbmm2
Kincekara Mar 28, 2024
cb60945
trying to change base image to micromamba
Mar 29, 2024
1043369
Merge pull request #937 from Kincekara/pbtk
erinyoung Mar 29, 2024
493a917
use micromamba as base version
Mar 29, 2024
d8cd22d
bump dockerfile.version
Mar 29, 2024
e7ef725
Correct Tostadas version ARG in Dockerfile
Apr 2, 2024
52c0adf
bump Tostadas version in top directory README
Apr 2, 2024
3bf9aaa
Added hyperlink
erinyoung Apr 3, 2024
1c34e0a
Merge pull request #936 from jessicarowell/master
erinyoung Apr 3, 2024
9877a6b
lower threads for testing
Kincekara Apr 4, 2024
1bde4a0
Merge pull request #938 from Kincekara/pbmm2
erinyoung Apr 9, 2024
e941643
Vadr 1.6.3 hav flu2 (#940)
nawrockie Apr 9, 2024
6fce6ae
adding gubbins version 3.3.4 (#946)
erinyoung Apr 9, 2024
8551554
Adding sylph version 0.6.0 (#961)
erinyoung Apr 10, 2024
614edd0
adding ska2 version 0.3.7 (#959)
erinyoung Apr 10, 2024
23c24ec
adding seqkit version 2.8.1 (#955)
erinyoung Apr 10, 2024
505a91e
Adding busco version 5.7.1 (#960)
erinyoung Apr 10, 2024
cffb1fa
adding bowtie2 version 2.5.3 (#962)
erinyoung Apr 11, 2024
f87f5ca
adding minimap2 version 2.28 (#952)
erinyoung Apr 11, 2024
2d3afda
adding datasets version 16.10.3 (#951)
erinyoung Apr 11, 2024
0336c8c
adding bakta 1.9.3 with 5.1 light database (#945)
erinyoung Apr 11, 2024
554f36e
adding serotypefinder version 2.0.2 (#928)
erinyoung Apr 12, 2024
50b9174
added seqsero2 version 1.3.1 (#956)
erinyoung Apr 12, 2024
2e5bcbc
adding dragonflye version 1.2.0 (#944)
erinyoung Apr 15, 2024
199fcb8
adding htslib version 1.20 (#947)
erinyoung Apr 15, 2024
f15ffcb
adding samtools version 1.20 (#954)
erinyoung Apr 15, 2024
fc400e9
adding dsk version 2.3.3 (#931)
erinyoung Apr 16, 2024
b118e05
adding bcftools version 1.20 (#964)
erinyoung Apr 16, 2024
d204054
adds pymlst 2.1.6
Kincekara Apr 16, 2024
60aab22
fix link on readme
Kincekara Apr 16, 2024
175f252
Merge pull request #965 from Kincekara/pymlst
erinyoung Apr 17, 2024
b617fae
adding longshot version 1.0.0 (#949)
erinyoung Apr 22, 2024
03d07fd
add trycycler version 0.5.5 (#957)
erinyoung Apr 22, 2024
7102f18
add pbipa
Kincekara Apr 23, 2024
528902c
Adding samclip 0.4.0
dhatribadri Apr 23, 2024
78c15c9
Merge pull request #966 from Kincekara/ipa
erinyoung Apr 23, 2024
c8ab1f8
Adding samclip 0.4.0
dhatribadri Apr 23, 2024
b4ff42c
adds bwa 0.7.18
Kincekara Apr 25, 2024
f9e9da1
Add abricate v1.0.1 database for vibrio cholera (#963)
cimendes Apr 30, 2024
688714f
Removing hidden files
dhatribadri May 1, 2024
19ad40e
Adding samclip tool to the list of tools in program licenses
dhatribadri May 1, 2024
b115ffa
Adding samclip tool to the list of tools in README
dhatribadri May 1, 2024
12e1418
Merge pull request #968 from Kincekara/bwa
erinyoung May 1, 2024
e4e0000
added dockerfile and readme for pdata 1.26
kapsakcj May 1, 2024
ee7c928
added test for JN.1.48, which is new as of pango-designation v1.27
kapsakcj May 1, 2024
a82173f
update main README with link to new dockerfile & documentation
kapsakcj May 1, 2024
aeb8046
Update Dockerfile based on Erin's feedback
dhatribadri May 1, 2024
752ef85
Remove unnecessary lines of information from README.md
dhatribadri May 1, 2024
694175e
Merge pull request #969 from dhatribadri/dhatri-docker-builds
erinyoung May 1, 2024
225e5da
Merge pull request #970 from StaPH-B/cjk-pdata-1.27
erinyoung May 1, 2024
7554e45
adding iqtree2 version 2.3.1 (#948)
erinyoung May 3, 2024
b36df50
adding tbprofiler version 6.2.0 (#958)
erinyoung May 3, 2024
75a6394
adding poppunk version 2.6.5 (#915)
erinyoung May 3, 2024
9ea8639
Bump nokogiri from 1.14.3 to 1.15.6 in /docs (#921)
dependabot[bot] May 3, 2024
882f97c
adding panaroo version 1.5.0 (#909)
erinyoung May 3, 2024
1ba5ab0
update amrfinder (#973)
Kincekara May 8, 2024
c4ea70f
add tbprofiler v6.2.1
sage-wright May 10, 2024
10ea853
update readme to show current database hash
sage-wright May 10, 2024
b6e632d
new keybarod, can't sepll
sage-wright May 10, 2024
3949cd2
adds jasmine
Kincekara May 14, 2024
548e287
adding datsets vversion 16.15.0 (#979)
erinyoung May 14, 2024
1a107c7
adding sylph version 0.6.1 (#983)
erinyoung May 15, 2024
1cb2a02
adding flye 2.9.4 (#982)
erinyoung May 15, 2024
6f0285e
change test
Kincekara May 15, 2024
accb77a
test round2
Kincekara May 15, 2024
9db95f5
rasusa version 2.0.0 (#981)
erinyoung May 15, 2024
024d7f8
adding iqtree2 version 2.3.4 (#977)
erinyoung May 20, 2024
aa8cb89
adding parsnp 2.0.5 (#980)
erinyoung May 22, 2024
4fec530
adding new dockerfile for medaka 1.12.0
erinyoung May 22, 2024
6d1e793
adding new dockerfile for medaka 1.12.0
erinyoung May 22, 2024
d1b82a1
add pbtk version
Kincekara May 22, 2024
88cdd30
Merge pull request #978 from Kincekara/jasmine
erinyoung May 22, 2024
18e7e1a
Merge branch 'master' into master
kapsakcj May 24, 2024
8c113e2
update readme
sage-wright May 28, 2024
ca18b4f
Merge branch 'master' of https://github.com/sage-wright/docker-builds
sage-wright May 28, 2024
dc8b1c6
Update Dockerfile
Kincekara May 29, 2024
1fbf233
add myself to maintainer list
sage-wright May 29, 2024
89dcefc
Merge pull request #985 from StaPH-B/Kincekara-patch-1
jessicarowell May 29, 2024
165c8d8
Merge pull request #974 from sage-wright/master
erinyoung May 29, 2024
beb39f7
Fixed spelling typos in README.md
jessicarowell May 29, 2024
c4344ed
Update base image to 1.5.8
erinyoung May 29, 2024
0e8075c
change micromamba base image to 1.4.9
erinyoung May 29, 2024
9b1cd3c
Merge pull request #984 from StaPH-B/erin-artic
jessicarowell May 31, 2024
064e41e
add ppanggolin version 2.0.5 (#910)
erinyoung Jun 6, 2024
65cf543
adding genomad version 1.8.0 (#912)
erinyoung Jun 6, 2024
04efc7b
adding pycirclize verison 1.5.0 (#916)
erinyoung Jun 6, 2024
a1f2426
Adding augur version 24.3.0 (#942)
erinyoung Jun 6, 2024
20a682a
add gfastats version 1.3.7 (#943)
erinyoung Jun 6, 2024
f85cc28
adding dragonflye version 1.2.1 (#976)
erinyoung Jun 6, 2024
e56cc86
add raxml 8.2.13
Kincekara Jun 6, 2024
907a1bb
add raxml-ng 1.2.2
Kincekara Jun 6, 2024
4a36ab2
update readme and licenses
Kincekara Jun 6, 2024
7b3d104
fix test
Kincekara Jun 6, 2024
7498539
fix-labels
Kincekara Jun 6, 2024
eb277dd
add autoclean
Kincekara Jun 13, 2024
5694cff
adding multiqc 1.22.2 (#907)
erinyoung Jun 13, 2024
8987a2a
Merge pull request #986 from Kincekara/raxml
erinyoung Jun 13, 2024
4ccb5bd
add dockerfile for viridian 1.2.2
soejun Jun 13, 2024
cf3e52e
add README.md for viridian
soejun Jun 18, 2024
fc83239
add viridian to master readme
soejun Jun 18, 2024
65fc022
update license to include MIT license for viridian
soejun Jun 18, 2024
8a89d6a
adds clair3
Kincekara Jun 25, 2024
c56c817
update test
Kincekara Jun 25, 2024
4ea4db9
Merge pull request #988 from Kincekara/clair
erinyoung Jun 25, 2024
c68aae4
update freyja to version 1.5.1 (#991)
erinyoung Jun 25, 2024
64b020a
adds dockerfile for pdata 1.28 and README.md
kapsakcj Jun 25, 2024
b913417
update main README.md
kapsakcj Jun 25, 2024
a39fb25
to slience warning about "FROM" and "as" having mismatching casing. l…
kapsakcj Jun 25, 2024
0b0e109
update CI check for app and test layers
kapsakcj Jun 25, 2024
6d60fff
adding spades version 4.0.0 (#1005)
erinyoung Jun 25, 2024
e0a3963
Merge pull request #997 from StaPH-B/cjk-pdata-1.28
erinyoung Jun 25, 2024
28064eb
adding verkko version 2.1 (#1007)
erinyoung Jun 26, 2024
7c979ea
fixup! add dockerfile for viridian 1.2.2
soejun Jun 27, 2024
5dfaaee
Update Dockerfile
Kincekara Jun 27, 2024
e8922da
Update Dockerfile
Kincekara Jun 27, 2024
a8d21d4
fix label
Kincekara Jun 27, 2024
ff79224
change test
Kincekara Jun 27, 2024
9318f30
gubbins version 3.3.5 (#992)
erinyoung Jun 28, 2024
9bb42e9
adding mafft version 7.526 (#1008)
erinyoung Jun 28, 2024
4d8fc7d
Update README.md
erinyoung Jun 28, 2024
cc6439a
Adds hyperlink
erinyoung Jun 28, 2024
2da1bd1
augur version 24.4.0 (#989)
erinyoung Jul 2, 2024
834fd62
adding bowtie2 version 2.5.4 (#990)
erinyoung Jul 2, 2024
bcaefe3
adding metaphlan version 4.1.1 (#996)
erinyoung Jul 2, 2024
caeade2
update dockerfile to use ubuntu:jammy and newer tools
soejun Jul 2, 2024
08b8cc8
Added versions
erinyoung Jul 2, 2024
57884de
Merge pull request #987 from soejun/add-viridian
erinyoung Jul 3, 2024
37be419
adding multiqc version 1.22.3 (#998)
erinyoung Jul 3, 2024
0f4f287
ncbi datasets version 16.22.1 (#999)
erinyoung Jul 3, 2024
3a683fb
adding pycirclize version 1.6.0 (#1000)
erinyoung Jul 3, 2024
2c76f45
adding seqkit version 2.8.2 (#1002)
erinyoung Jul 3, 2024
ebad381
adding pygenomeviz version 1.1.0 (#1006)
erinyoung Jul 3, 2024
d4d7fa7
Update table2asn for 2024-06-18 (#1009)
erinyoung Jul 3, 2024
a28eeaf
added dockerfile for pdata 1.28.1; corrected previous pangolin README…
kapsakcj Jul 9, 2024
3ef6961
updated checkm to 1.2.3 (#1012)
erinyoung Jul 11, 2024
3d8ca96
Add GenoFLU 1.03 (#1020)
sage-wright Jul 11, 2024
1ddfea9
Change to monthly instead of daily (#1023)
erinyoung Jul 26, 2024
d1fcf6c
adds el_gato 1.18.0
Kincekara Jul 26, 2024
52693d1
adds elgato 1.18.2
Kincekara Jul 30, 2024
2022fc3
remove 1.18.0
Kincekara Jul 30, 2024
af47652
adds pangolin with pdata v1.29 (#1027)
kapsakcj Jul 30, 2024
66ed5dc
Merge pull request #1026 from Kincekara/master
erinyoung Jul 30, 2024
6c277b4
update amrfinder (#1030)
Kincekara Aug 7, 2024
24675a0
adding ivar version 1.4.3 (#995)
erinyoung Aug 8, 2024
9116cdc
adding panqc version 0.4.0 (#1013)
erinyoung Aug 9, 2024
37f0166
adding pango_aliasor version 0.3.0 (#1011)
erinyoung Aug 9, 2024
55ee7e6
Enable GCS, S3, and libdeflate support for bcftools (#1019)
pettyalex Aug 21, 2024
99f0bdd
Link samtools against libdeflate for improved performance. (#1021)
pettyalex Aug 21, 2024
4eeb635
Link htslib to libdeflate, improving performance. (#1022)
pettyalex Aug 21, 2024
c2f9604
update readmes for bcftools, htslib, and samtools
Kincekara Aug 21, 2024
a5e9e45
Merge pull request #1032 from Kincekara/master
erinyoung Aug 21, 2024
4fdec45
adding clair3 version 1.0.10 (#1035)
erinyoung Aug 22, 2024
d60d706
adding dnaapler version 0.8.0 (#1036)
erinyoung Aug 22, 2024
184df77
adding bakta version 1.9.4 (#1034)
erinyoung Aug 22, 2024
ee31ed0
add skani 0.2.2
Kincekara Aug 22, 2024
59934df
json arg on cmd
Kincekara Aug 22, 2024
a394b42
add pasty 2.1.0
Kincekara Aug 22, 2024
dff117f
fix label
Kincekara Aug 22, 2024
6f655df
add elgato 1.19.0
Kincekara Aug 23, 2024
fdc4f35
Merge branch 'master' into tkp-rdp
taylorpaisie Aug 28, 2024
88fb433
Merge pull request #1039 from Kincekara/elgato
erinyoung Aug 28, 2024
414106e
Merge pull request #1038 from Kincekara/pasty
erinyoung Aug 28, 2024
c2a3397
Merge pull request #1037 from Kincekara/skani
erinyoung Aug 28, 2024
06f509c
adding aniclustermap 1.4.0 (#1033)
erinyoung Aug 29, 2024
f43be22
update pasty to 2.2.1
Kincekara Aug 29, 2024
19cda75
update readme
Kincekara Aug 29, 2024
213dbc7
Merge pull request #1042 from Kincekara/pasty
erinyoung Aug 29, 2024
7caff63
add shigapass 1.5.0 (#1041)
jvhagey Sep 5, 2024
b9ecda9
Update update_freyja.yml
erinyoung Sep 5, 2024
e5ed2d1
removed builder
erinyoung Sep 5, 2024
ceca03a
Update README.md
erinyoung Sep 5, 2024
39fec21
Update test_versions.py for 3.10
erinyoung Sep 5, 2024
692b0be
fixed typo in LABEL
erinyoung Sep 5, 2024
0fcabe2
Update README.md
taylorpaisie Sep 9, 2024
0232b7c
Update Program_Licenses.md
taylorpaisie Sep 9, 2024
ae45b01
added user tag to readme
taylorpaisie Sep 10, 2024
ea55b66
Merge pull request #1040 from taylorpaisie/tkp-rdp
erinyoung Sep 10, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
16 changes: 0 additions & 16 deletions .github/workflow-templates/readme-template.md

This file was deleted.

22 changes: 11 additions & 11 deletions .github/workflows/build-to-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Check Out Repo (+ download Git LFS dependencies) # each job runs in an isolated environment, so need to check out the repo in each job
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
lfs: true

Expand All @@ -61,10 +61,10 @@ jobs:

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Cache Docker layers # also need to set up the cache in each job, using the same prefix (here ${{ runner.os }}-buildx) makes it sharable between jobs
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache-${{ inputs.cache }}
key: ${{ runner.os }}-buildx-${{ inputs.cache }}-${{ github.sha }}
Expand All @@ -73,7 +73,7 @@ jobs:

- name: Docker meta
id: meta
uses: docker/metadata-action@v4 # trying this to resolve issues with pushing identical images to quay. info here: https://github.com/docker/build-push-action/issues/452
uses: docker/metadata-action@v5 # trying this to resolve issues with pushing identical images to quay. info here: https://github.com/docker/build-push-action/issues/452
with:
images: |
${{ inputs.repository_name }}/${{ inputs.container_name }}:${{ inputs.tag }}
Expand All @@ -82,13 +82,13 @@ jobs:
quay.io/${{ inputs.repository_name }}/${{ inputs.container_name }}:latest

- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.docker_username }}
password: ${{ secrets.docker_access_token }}

- name: Login to Quay
uses: docker/login-action@v2
uses: docker/login-action@v3
if: ${{ inputs.push_quay }}
with:
registry: quay.io
Expand All @@ -97,7 +97,7 @@ jobs:

- name: Build and push user-defined tag to DockerHub
id: docker_build_user_defined_tag
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
context: ${{ inputs.path_to_context }}
file: ${{ inputs.path_to_context }}/${{ inputs.dockerfile_name }}
Expand All @@ -111,7 +111,7 @@ jobs:

- name: Build and push latest tag to DockerHub
id: docker_build_latest_tag
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
if: ${{ inputs.push_latest_tag }}
with:
context: ${{ inputs.path_to_context }}
Expand All @@ -126,7 +126,7 @@ jobs:

- name: Build and push user-defined tag to Quay
id: quay_build_user_defined_tag
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
if: ${{ inputs.push_quay }}
with:
context: ${{ inputs.path_to_context }}
Expand All @@ -141,7 +141,7 @@ jobs:

- name: Build and push latest tag to Quay
id: quay_build_latest_tag
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
if: ${{ inputs.push_quay && inputs.push_latest_tag }}
with:
context: ${{ inputs.path_to_context }}
Expand All @@ -160,4 +160,4 @@ jobs:
mv /tmp/.buildx-cache-${{ inputs.cache }}-new /tmp/.buildx-cache-${{ inputs.cache }}

- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
run: echo ${{ steps.docker_build_user_defined_tag.outputs.digest }}
12 changes: 6 additions & 6 deletions .github/workflows/build-to-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,17 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Check Out Repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Cache Docker layers
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache-${{ inputs.cache }}
key: ${{ runner.os }}-buildx-${{ inputs.cache }}-${{ github.sha }}
Expand All @@ -41,7 +41,7 @@ jobs:

- name: Build to test
id: docker_build_to_test
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
context: ${{ inputs.path_to_context }}
file: ${{ inputs.path_to_context }}/${{ inputs.dockerfile_name }}
Expand All @@ -56,4 +56,4 @@ jobs:
mv /tmp/.buildx-cache-${{ inputs.cache }}-new /tmp/.buildx-cache-${{ inputs.cache }}

- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
run: echo ${{ steps.docker_build_to_test.outputs.digest }}
2 changes: 1 addition & 1 deletion .github/workflows/run-singularity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Check out Repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Singularity
uses: eWaterCycle/setup-singularity@v7
Expand Down
21 changes: 10 additions & 11 deletions .github/workflows/test-PR-dockerfiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
outputs:
json: ${{ steps.files.outputs.added_modified }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- id: files
uses: Ana06/get-changed-files@v2.2.0
uses: Ana06/get-changed-files@v2.3.0
with:
format: 'json'
filter: 'Dockerfile'
Expand Down Expand Up @@ -54,27 +54,27 @@ jobs:
##### --------------------------------------------------------------------------- #####

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Layer check
run: |
#checking layers
warning=''
app_layer=$(grep FROM ./${{ steps.parse.outputs.tool }}/${{ steps.parse.outputs.version }}/Dockerfile | grep "as app")
tst_layer=$(grep FROM ./${{ steps.parse.outputs.tool }}/${{ steps.parse.outputs.version }}/Dockerfile | grep "as test")
app_layer=$(grep FROM ./${{ steps.parse.outputs.tool }}/${{ steps.parse.outputs.version }}/Dockerfile | grep -E "as app|AS app")
tst_layer=$(grep FROM ./${{ steps.parse.outputs.tool }}/${{ steps.parse.outputs.version }}/Dockerfile | grep -E "as test|AS test")
if [ -z "$app_layer" ] ; then echo "FATAL : app layer is missing" ; warning='warning' ; fi
if [ -z "$tst_layer" ] ; then echo "FATAL : test layer is missing" ; warning='warning' ; fi
if [ -n "$warning" ] ; then echo "Please see template for recommended format https://github.com/StaPH-B/docker-builds/blob/master/dockerfile-template/Dockerfile" ; exit 1 ; fi

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Cache Docker layers
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache-${{ steps.parse.outputs.tool }}
key: ${{ runner.os }}-buildx-${{ steps.parse.outputs.tool }}-${{ github.sha }}
Expand All @@ -83,7 +83,7 @@ jobs:

- name: Build to test
id: docker_build_to_test
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
context: ./${{ steps.parse.outputs.tool }}/${{ steps.parse.outputs.version }}
file: ./${{ steps.parse.outputs.tool }}/${{ steps.parse.outputs.version }}/Dockerfile
Expand Down Expand Up @@ -116,12 +116,11 @@ jobs:
run: |
# checking commands
docker run ${{ steps.parse.outputs.tool }}:${{ steps.parse.outputs.version }} ps --help
docker run ${{ steps.parse.outputs.tool }}:${{ steps.parse.outputs.version }} update-ca-certificates -h

- name: Move cache # apparently prevents the cache from growing in size forever
run: |
rm -rf /tmp/.buildx-cache-${{ steps.parse.outputs.tool }}
mv /tmp/.buildx-cache-${{ steps.parse.outputs.tool }}-new /tmp/.buildx-cache-${{ steps.parse.outputs.tool }}

- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
run: echo ${{ steps.docker_build_to_test.outputs.digest }}
89 changes: 89 additions & 0 deletions .github/workflows/update_freyja.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
##### ------------------------------------------------------------------------------------------------ #####
##### This caller workflow tests, builds, and pushes the image to Docker Hub and Quay using the most #####
##### recent version of Freyja and downloading the most recent variant information. #####
##### It takes no manual input. #####
##### ------------------------------------------------------------------------------------------------ #####

name: Update Freyja

on:
workflow_dispatch:
schedule:
- cron: '30 7 1 * *'

run-name: Updating Freyja

jobs:
update:
runs-on: ubuntu-latest
steps:
- name: pull repo
uses: actions/checkout@v4

- name: set freyja version
id: latest_version
run: |
version=1.5.1
echo "version=$version" >> $GITHUB_OUTPUT

file=freyja/$version/Dockerfile
ls $file
echo "file=$file" >> $GITHUB_OUTPUT

- name: set up docker buildx
id: buildx
uses: docker/setup-buildx-action@v3

- name: build to test
id: docker_build_to_test
uses: docker/build-push-action@v5
with:
file: ${{ steps.latest_version.outputs.file }}
target: test
load: true
push: false
tags: freyja:update

- name: get freyja database version
id: db_version
run: |
docker run freyja:update freyja demix --version
version=$(docker run freyja:update freyja demix --version | grep . | grep -v Barcode | head -n 1)
echo "the latest version is $version"
echo "version=$version" >> $GITHUB_OUTPUT

- name: Get current date
id: date
run: |
date=$(date '+%Y-%m-%d')
echo "the date is $date"
echo "date=$date" >> $GITHUB_OUTPUT

- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}

- name: Login to Quay
uses: docker/login-action@v3
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_ROBOT_TOKEN }}

- name: Build and push Dockerfile
id: docker_build_and_push
uses: docker/build-push-action@v5
with:
file: ${{ steps.latest_version.outputs.file }}
target: app
push: true
tags: |
staphb/freyja:${{ steps.latest_version.outputs.version }}-${{ steps.db_version.outputs.version }}-${{ steps.date.outputs.date }}
staphb/freyja:latest
quay.io/staphb/freyja:${{ steps.latest_version.outputs.version }}-${{ steps.db_version.outputs.version }}-${{ steps.date.outputs.date }}
quay.io/staphb/freyja:latest

- name: Image digest
run: echo ${{ steps.docker_build_user_defined_tag.outputs.digest }}
87 changes: 87 additions & 0 deletions .github/workflows/update_mlst.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
##### ------------------------------------------------------------------------------------------------ #####
##### This caller workflow tests, builds, and pushes the image to Docker Hub and Quay using the most #####
##### recent version of MLST and downloads the current MLST schemes. #####
##### It takes no manual input. #####
##### ------------------------------------------------------------------------------------------------ #####

name: Update MLST

on:
workflow_dispatch:
schedule:
- cron: '30 7 1 * *'

run-name: Updating MLST

jobs:
update:
runs-on: ubuntu-latest
steps:

- name: pull repo
uses: actions/checkout@v4

- name: set mlst version
id: latest_version
run: |
version=2.23.0
echo "version=$version" >> $GITHUB_OUTPUT

file=mlst/2.23.0-2024-03/Dockerfile
ls $file
echo "file=$file" >> $GITHUB_OUTPUT

- name: set up docker buildx
id: buildx
uses: docker/setup-buildx-action@v3

- name: build to test
id: docker_build_to_test
uses: docker/build-push-action@v5
with:
context: mlst/${{ steps.latest_version.outputs.version }}
target: test
load: true
push: false
tags: mlst:update

- name: Get current date
id: date
run: |
date=$(date '+%Y-%m-%d')
echo "the date is $date"
echo "date=$date" >> $GITHUB_OUTPUT

- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}

- name: Login to Quay
uses: docker/login-action@v3
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_ROBOT_TOKEN }}

- name: Build and push user-defined tag to DockerHub
id: docker_build_user_defined_tag
uses: docker/build-push-action@v5
with:
file: ${{ steps.latest_version.outputs.file }}
target: app
push: true
tags: staphb/mlst:${{ steps.latest_version.outputs.version }}-${{ steps.date.outputs.date }}

- name: Build and push to Quay
id: build
uses: docker/build-push-action@v5
with:
file: ${{ steps.latest_version.outputs.file }}
target: app
push: true
tags: quay.io/staphb/mlst:${{ steps.latest_version.outputs.version }}-${{ steps.date.outputs.date }}

- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
Loading
Loading