Skip to content

Commit 35a089a

Browse files
author
hamin
committed
readme update and multi-platform image
1 parent 27e0969 commit 35a089a

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.github/workflows/docker.latest.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
cd software_docker
2828
APP_VERSION=$(ls -d v*.*.* | sort -V | tail -n 1)
2929
cd ${APP_VERSION}
30-
docker buildx build --platform linux/amd64 -t mpgagebioinformatics/bioinformatics_software:latest . --push
30+
docker buildx build --platform linux/amd64,linux/arm64 -t mpgagebioinformatics/bioinformatics_software:latest . --push
3131
3232
- name: Set Success env
3333
run: echo "GITHUB_SHA_SHORT=$(echo $GITHUB_SHA | cut -c 1-8)" >> $GITHUB_ENV

.github/workflows/docker.tag.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
APP_VERSION=${GITHUB_REF#refs/*/}
2626
git clone https://github.com/mpg-age-bioinformatics/software_docker.git
2727
cd software_docker/${APP_VERSION}
28-
docker buildx build --platform linux/amd64 -t mpgagebioinformatics/bioinformatics_software:${APP_VERSION} -t mpgagebioinformatics/bioinformatics_software:latest . --push
28+
docker buildx build --platform linux/amd64,linux/arm64 -t mpgagebioinformatics/bioinformatics_software:${APP_VERSION} -t mpgagebioinformatics/bioinformatics_software:latest . --push
2929
3030
- name: Set Success env
3131
run: echo "GITHUB_SHA_SHORT=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV

README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -246,11 +246,13 @@ sudo docker run -d -p 8787:8787 -p 8888:8888 \
246246

247247
sudo docker exec -i -t bioinf-container /bin/bash
248248
```
249-
Push your changes to the repo on github.
249+
Push your changes to the repo on github (it will push a docker image with the latest tag).
250250

251-
Push you docker image with:
251+
Add the new version tag (e.g. v1.2.3) to push you docker image with the version tag:
252252
```bash
253-
docker push mpgagebioinformatics/bioinformatics_software:<version_tag>
253+
git tag -e -a <version tag> HEAD
254+
git push
255+
git push origin --tags
254256
```
255257

256258
Python and perl Modules should be installed by the user with the ```--user``` option.

0 commit comments

Comments
 (0)