Skip to content

Commit f7be87b

Browse files
authored
Merge pull request #70 from break-through-cancer/update-docker
Update docker
2 parents c8f85ff + a5a5ccd commit f7be87b

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.github/workflows/build-push-container.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ name: build-push-container
44
# Configures this workflow to run every time a change is pushed to the branch called `release`.
55
on:
66
push:
7-
branches: ['main']
7+
paths:
8+
- '**/Dockerfile'
9+
- '**/*.dockerfile'
10+
- '.github/workflows/build-push-container.yml'
811
workflow_dispatch:
912

1013
# Defines two custom environment variables for the workflow. These are used for the Container registry domain, and a name for the Docker image that this workflow builds.
@@ -39,6 +42,9 @@ jobs:
3942
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
4043
with:
4144
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
45+
tags: |
46+
type=sha,format=short,prefix= # Generates a tag like '860c190'
47+
main
4248
# This step uses the `docker/build-push-action` action to build the image, based on your repository's `Dockerfile`. If the build succeeds, it pushes the image to GitHub Packages.
4349
# It uses the `context` parameter to define the build's context as the set of files located in the specified path. For more information, see "[Usage](https://github.com/docker/build-push-action#usage)" in the README of the `docker/build-push-action` repository.
4450
# It uses the `tags` and `labels` parameters to tag and label the image with the output from the "meta" step.

conf/base.config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
*/
1010

1111
process {
12+
container = "ghcr.io/karchinlab/tcrtoolkit:main"
13+
1214
// TODO nf-core: Check the defaults for all processes
1315
cpus = { check_max( 1 * task.attempt, 'cpus' ) }
1416
memory = { check_max( 4.GB * task.attempt, 'memory' ) }

modules/local/compare/compare_concatenate.nf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
process COMPARE_CONCATENATE {
22
label 'process_low'
3-
container "ghcr.io/karchinlab/tcrtoolkit:main"
43

54
input:
65
path samplesheet_utf8

0 commit comments

Comments
 (0)