File tree 3 files changed +7
-5
lines changed
3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 27
27
cd software_docker
28
28
APP_VERSION=$(ls -d v*.*.* | sort -V | tail -n 1)
29
29
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
31
31
32
32
- name : Set Success env
33
33
run : echo "GITHUB_SHA_SHORT=$(echo $GITHUB_SHA | cut -c 1-8)" >> $GITHUB_ENV
Original file line number Diff line number Diff line change 25
25
APP_VERSION=${GITHUB_REF#refs/*/}
26
26
git clone https://github.com/mpg-age-bioinformatics/software_docker.git
27
27
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
29
29
30
30
- name : Set Success env
31
31
run : echo "GITHUB_SHA_SHORT=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
Original file line number Diff line number Diff line change @@ -246,11 +246,13 @@ sudo docker run -d -p 8787:8787 -p 8888:8888 \
246
246
247
247
sudo docker exec -i -t bioinf-container /bin/bash
248
248
```
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) .
250
250
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 :
252
252
``` 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
254
256
```
255
257
256
258
Python and perl Modules should be installed by the user with the ``` --user ``` option.
You can’t perform that action at this time.
0 commit comments