Skip to content

Commit

Permalink
Merge pull request #3 from arddluma/feature/Publish-to-DockerHub
Browse files Browse the repository at this point in the history
Publish Nebula to DockerHub
  • Loading branch information
gl4ssesbo1 authored Apr 21, 2021
2 parents a8da3b1 + ea4bab3 commit 1661148
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 4 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Publish Nebula Docker image to DockerHub
on:
push:
branches:
- main
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/nebula:latest
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,20 @@ It is build with modules for each provider and each functionality. As of April 2
## Installation

### Docker
To build Docker image run
Pull Nebula Docker image:

```
docker pull gl4ssesbo1/nebula:latest
```
or if you want to build Docker image locally run:

```
docker build -t nebula .
docker build -t nebula:latest .
```
and then run main.py through:
and then run main.py through:docker run -v nebula-ps:/app -ti nebula:latest main.py

```
docker run -v nebula-ps:/app -ti nebula main.py
docker run -v nebula-ps:/app -ti nebula:latest main.py
```

### Installed on System
Expand Down

0 comments on commit 1661148

Please sign in to comment.