Skip to content

Commit

Permalink
multiplatform build docs
Browse files Browse the repository at this point in the history
  • Loading branch information
asgray committed Feb 20, 2024
1 parent 3291f69 commit 2cdd598
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,9 @@ singularity build dfam-tetools.sif dfam-tetools.def
```

### Multi-Platform Docker Build
`docker buildx build --platform=linux/amd64,linux/arm64 -t dfam/tetools:dev --push .`
```
docker buildx build --platform=linux/amd64,linux/arm64 --output=type=registry -t dfam/tetools:<tag> .
```

## Included software

Expand Down
14 changes: 9 additions & 5 deletions releasing.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,18 @@ Build location can be changed. https://www.digitalocean.com/community/questions/
* Use the tag `dfam/tetools:dev`
4. Test the container
* `container_test.sh` will run as the last step of the build
5. Commit and tag in git as x.y
5. Build the multiplatform container if possible
* ` docker buildx build --platform=linux/amd64,linux/arm64 --output=type=registry -t dfam/tetools:dev .`
6. Pull complete container
* `docker pull dfam/tetools:dev`
7. Commit and tag in git as x.y
* run `git tag -a x.y`
6. Tag the container (in docker) as `:x`, `:x.y`, and `:latest`
8. Tag the container (in docker) as `:x`, `:x.y`, and `:latest`
* For each version, run: `docker image tag dfam/tetools:dev dfam/tetools:version`
7. Push these tags to docker hub
9. Push these tags to docker hub
* For each tag made before: `docker push dfam/tetools:version`
8. Push the commit and tag to github
9. Generate a release on the github site
10. Push the commit and tag to github
11. Generate a release on the github site
* On the releases tab select "Draft a new release"
* Choose the tag saved in step 5
* Use a release title like "Dfam TE Tools x.y"
Expand Down

0 comments on commit 2cdd598

Please sign in to comment.