Skip to content

Commit

Permalink
Merge pull request #178 from LCSB-BioCore/add-docker-creation
Browse files Browse the repository at this point in the history
feature: Add docker creation
  • Loading branch information
exaexa authored Mar 25, 2021
2 parents 15f85f1 + a4bec41 commit 73a0729
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Publish Docker image
on:
release:
types: [published]
jobs:
push_to_registry:
name: Push Docker image to GitHub Packages
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Login to Registry
uses: docker/login-action@v1
with:
registry: docker.pkg.github.com
username: cylon-x
password: ${{ secrets.DOCKER_TOKEN }}
- uses: docker/build-push-action@v2
with:
push: true
tags: lcsb-biocore/gigasom:latest

5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM julia

RUN julia -e 'import Pkg; Pkg.add("GigaSOM"); Pkg.resolve(); Pkg.status(); Pkg.instantiate(); Pkg.precompile()'

CMD ["julia"]
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "GigaSOM"
uuid = "a03a9c34-069e-5582-a11c-5c984cab887c"
version = "0.6.3"
version = "0.6.4"

[deps]
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
Expand Down

0 comments on commit 73a0729

Please sign in to comment.