Skip to content

Commit

Permalink
Add docker action to build image
Browse files Browse the repository at this point in the history
  • Loading branch information
lukfor committed May 25, 2024
1 parent 6103f23 commit f796511
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 23 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,15 @@ jobs:
run: |
wget -qO- https://code.askimed.com/install/nf-test | bash -s 0.9.0-rc2
sudo mv nf-test /usr/local/bin/
- name: Build Docker
run: docker build -t genepi/nf-gwas .
- name: Build Docker
uses: docker/build-push-action@v5
with:
context: .
push: false
tags: "genepi/nf-gwas"
cache-from: type=gha
cache-to: type=gha,mode=max

- name: Run Tests (Shard ${{ matrix.shard }}/${{ strategy.job-total }})
run: nf-test test --ci --shard ${{ matrix.shard }}/${{ strategy.job-total }}
Expand Down
20 changes: 0 additions & 20 deletions 01-sharding.sh

This file was deleted.

0 comments on commit f796511

Please sign in to comment.