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

pull from devel to master to prepare release 1.5.0 #44

Merged
merged 6 commits into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,21 @@ metadata based on `git describe`.
cd ./docker
make

## Release instructions

When tagging a new version please use annotated tags in the command line
interface.

```bash
git clone --branch master [email protected]:wtsi-npg/samtools_container.git samtools_container && cd $_
git tag -a 'x.y.z' -m 'release x.y.z'
git push origin x.y.z
```

Releases are created and published automatically by a GitHub Action on tag
creation. Using the web interface to create a release will cause that
automation to fail.

# NPG Singularity wrappers

Each container that provides command line programs is self-documenting
Expand Down
6 changes: 3 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ARG IRODS_VERSION="4.2.11"
ARG HTSLIB_VERSION=1.20
ARG SAMTOOLS_VERSION=1.20
ARG BCFTOOLS_VERSION=1.20
ARG HTSLIB_VERSION=1.21
ARG SAMTOOLS_VERSION=1.21
ARG BCFTOOLS_VERSION=1.21
ARG DEFLATE_VERSION=1.20

FROM ubuntu:18.04 AS samtools_build
Expand Down
9 changes: 5 additions & 4 deletions docker/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,16 @@ samtools.$(TAG): Dockerfile
--build-arg DOCKER_TAG=$(TAG) \
--build-arg IRODS_VERSION=4.2.11 \
--build-arg BATON_VERSION=4.2.1 \
--build-arg HTSLIB_VERSION=1.20 \
--build-arg SAMTOOLS_VERSION=1.20 \
--build-arg BCFTOOLS_VERSION=1.20 \
--build-arg HTSLIB_VERSION=1.21 \
--build-arg SAMTOOLS_VERSION=1.21 \
--build-arg BCFTOOLS_VERSION=1.21 \
--build-arg DEFLATE_VERSION=1.20 \
--label org.opencontainers.image.title="samtools" \
--label org.opencontainers.image.title=$(image_names) \
--label org.opencontainers.image.source=$(git_url) \
--label org.opencontainers.image.revision=$(git_commit) \
--label org.opencontainers.image.version=$(TAG) \
--label org.opencontainers.image.created=$(NOW) \
--label org.opencontainers.image.vendor=npg.sanger.ac.uk \
--tag $(DOCKER_PREFIX)/samtools:latest \
--tag $(DOCKER_PREFIX)/samtools:$(TAG) --file $< .
touch $@
Expand Down