-
Notifications
You must be signed in to change notification settings - Fork 25
ci: docker push (-> ghcr) #314
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
Open
tristan-f-r
wants to merge
46
commits into
Reed-CompBio:main
Choose a base branch
from
tristan-f-r:docker-push
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
eb36a7a
feat: push
tristan-f-r bc9ba10
ci: push docker
tristan-f-r d84be32
ci(push-docker): specify yes-flag
tristan-f-r 800e727
feat: tag, latest and such
tristan-f-r 57998e3
chore: forcibly break ci
tristan-f-r f947332
feat: better push support over metadata
tristan-f-r 367ea72
chore: bmp oi1
tristan-f-r b7c9e2c
ci: test using ghcr
tristan-f-r eb5ae66
chore: specify v1 for domino
tristan-f-r 5dccba4
docs: drop 'no-conda'
tristan-f-r 1e92433
Merge branch 'main' into docker-push
tristan-f-r 514b1ea
Merge branch 'main' into docker-push
tristan-f-r 2e40235
docs: update docker references to ghcr
tristan-f-r 6e83f15
docs(push): clean
tristan-f-r 23621b2
refactor: dockerName -> imageName
tristan-f-r fa66c42
chore: push responsenet to ghcr, add ghcr links
tristan-f-r 2950a44
chore: label all associated containers
tristan-f-r cbb19be
chore(docker-wrappers): don't use legacy syntax
tristan-f-r 573240c
chore: use v1 for rn
tristan-f-r f22b05b
no-push flag, document arch problems
tristan-f-r eee5c0a
docs: link to issues
tristan-f-r 2594277
ci: check responsenet
tristan-f-r 28eab0e
Merge branch 'docker-push-test'
tristan-f-r 43ebaee
ci: add perms for r/w
tristan-f-r 1687ba0
docs: mention new v1 for ghcr
tristan-f-r b95838a
ci: use ghcr on release
tristan-f-r 9f35f0d
Merge branch 'main' into docker-push
tristan-f-r 6f2d689
fix(oi1): custom python installation
tristan-f-r e4c0bb4
Merge branch 'main' into docker-push
tristan-f-r c0b2929
Merge branch 'main' into docker-push
tristan-f-r e949160
chore: move sub file back to docker registry
tristan-f-r b4a31eb
chore: mv push.py -> build.py
tristan-f-r 0ca98c7
chore(docker-wrappers/build): mv nopush -> push
tristan-f-r 94ecdfc
docs: use push over nopush
tristan-f-r 1e5fedc
docs(docker-wrappers/SPRAS): explicitly use docker hub
tristan-f-r 299b299
docs(contributing): use ghcr, don't mention container pushes
tristan-f-r 3bccb93
Merge branch 'main' into docker-push
tristan-f-r 4f81abd
Merge branch 'main' into docker-push
tristan-f-r 6df7b0d
docs: more clarification
tristan-f-r 57a3253
fix: paths
tristan-f-r 3bafaf7
style: fmt
tristan-f-r 49c5b96
Merge branch 'umain' into docker-push
tristan-f-r bfcc0ef
fix(schema): correct default container prefix
tristan-f-r 84e86d5
Merge branch 'main' into docker-push
tristan-f-r afbe33e
Merge branch 'main' into docker-push
tristan-f-r 902292a
Merge branch 'main' into docker-push
tristan-f-r File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| name: Push to Docker | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| inputs: | ||
| folder: | ||
| description: 'The folder to push' | ||
| required: true | ||
| type: string | ||
| version: | ||
| description: 'The version to use (e.g. v1)' | ||
| required: true | ||
| type: string | ||
|
|
||
| jobs: | ||
| push-image: | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: read | ||
| packages: write | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Login to GitHub Container Registry | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: ${{ github.actor }} | ||
| password: ${{ secrets.GITHUB_TOKEN }} | ||
| - name: Run build.py | ||
| run: python3 docker-wrappers/build.py --dir ${{ inputs.folder }} --version ${{ inputs.version }} --yes | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| { | ||
| "imageName": "allpairs", | ||
| "architectures": ["linux/arm64", "linux/amd64"] | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,15 +1,20 @@ | ||
| # BowTieBuilder Docker image | ||
|
|
||
| A Docker image for [BowTieBuilder](https://github.com/Reed-CompBio/BowTieBuilder-Algorithm) that is available on [DockerHub](https://hub.docker.com/repository/docker/reedcompbio/bowtiebuilder). | ||
| A Docker image for [BowTieBuilder](https://github.com/Reed-CompBio/BowTieBuilder-Algorithm) that is available on the [GitHub Container Registry](https://github.com/orgs/Reed-CompBio/packages/container/package/bowtiebuilder). | ||
|
|
||
| To create the Docker image run: | ||
| ``` | ||
| docker build -t reedcompbio/bowtiebuilder:v2 -f Dockerfile . | ||
| docker build -t reed-compbio/bowtiebuilder:v1 -f Dockerfile . | ||
| ``` | ||
| from this directory. | ||
|
|
||
| ## Original Paper | ||
|
|
||
| The original paper for [BowTieBuilder] can be accessed here: | ||
|
|
||
| Supper, J., Spangenberg, L., Planatscher, H. et al. BowTieBuilder: modeling signal transduction pathways. BMC Syst Biol 3, 67 (2009). https://doi.org/10.1186/1752-0509-3-67 | ||
| Supper, J., Spangenberg, L., Planatscher, H. et al. BowTieBuilder: modeling signal transduction pathways. BMC Syst Biol 3, 67 (2009). https://doi.org/10.1186/1752-0509-3-67 | ||
|
|
||
| ## Versions | ||
|
|
||
| - `v1`: Initial docker container | ||
| - `v2`: Pin BTB file version for reproducible docker builds. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| { | ||
| "imageName": "bowtiebuilder", | ||
| "architectures": ["linux/arm64", "linux/amd64"] | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| { | ||
| "imageName": "py4cytoscape", | ||
| "architectures": ["linux/arm64", "linux/amd64"] | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,22 +1,27 @@ | ||
| # DOMINO Docker image | ||
|
|
||
| A Docker image for [DOMINO](https://github.com/Shamir-Lab/DOMINO) that is available on [DockerHub](https://hub.docker.com/repository/docker/reedcompbio/domino). | ||
| A Docker image for [DOMINO](https://github.com/Shamir-Lab/DOMINO) that is available on the [GitHub Container Registry](https://github.com/orgs/Reed-CompBio/packages/container/package/domino). | ||
|
|
||
| DOMINO outputs multiple active modules, which SPRAS combines into a single pathway. | ||
| It is [non-deterministic](https://github.com/Shamir-Lab/DOMINO/issues/5) and cannot be made deterministic with a seed. | ||
|
|
||
| To create the Docker image run: | ||
| ``` | ||
| docker build -t reedcompbio/domino -f Dockerfile . | ||
| docker build -t reed-compbio/domino -f Dockerfile . | ||
| ``` | ||
| from this directory. | ||
|
|
||
| To inspect the installed Python packages: | ||
| ``` | ||
| winpty docker run reedcompbio/domino pip list | ||
| winpty docker run reed-compbio/domino pip list | ||
| ``` | ||
| The `winpty` prefix is only needed on Windows. | ||
|
|
||
| ## TODO | ||
| - Resolve upstream ValueError with small inputs https://github.com/Shamir-Lab/DOMINO/issues/11 | ||
| - Use cache or reuse slices files from previous runs on the same network | ||
| - Investigate why DOMINO does not build on amd64 after https://github.com/Reed-CompBio/spras/pull/235. | ||
|
|
||
| ## Versions | ||
|
|
||
| - `v1`: Initial DOMINO container. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| { | ||
| "imageName": "domino", | ||
| "architectures": ["linux/amd64"] | ||
tristan-f-r marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| { | ||
| "imageName": "meo", | ||
| "architectures": ["linux/arm64", "linux/amd64"] | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.