Skip to content

Commit

Permalink
Merge pull request #112 from saezlab/CD
Browse files Browse the repository at this point in the history
Docker building via github action
  • Loading branch information
gabora authored Mar 18, 2024
2 parents f59ee98 + f8b42af commit 0f79447
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/publish_package_docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Publish to Docker
on:
release:
types: [published]
permissions:
packages: write
contents: read
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
# Add your test steps here if needed...
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/saezlab/publish-packages/game
tags: type=sha
- name: Login to GHCR
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build container
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM quay.io/biocontainers/decoupler:1.5.0--pyhdfd78af_0
RUN pip install omnipath==1.0.7 pandas==2.0.3
RUN pip install --upgrade .

0 comments on commit 0f79447

Please sign in to comment.