Skip to content
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

Added step to release pipeline to publish to neo4jlabs/neodash on Docker Hub #299

Merged
merged 3 commits into from
Jan 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/master-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,30 @@ jobs:
# - run: curl ${{ secrets.INDEX_HTML_DEPLOYMENT_URL }} > dist/index.html
# - run: aws s3 rm s3://neodash.graphapp.io/ --recursive && aws s3 sync dist s3://neodash.graphapp.io/ --acl public-read
build-docker:
needs: build-test
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- name: run Docker
uses: actions/checkout@v2
- run: rm -rf docs
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_LABS_USERNAME }}
password: ${{ secrets.DOCKER_HUB_LABS_ACCESS_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile
push: true
tags: ${{ secrets.DOCKER_HUB_LABS_USERNAME }}/neodash:latest,${{ secrets.DOCKER_HUB_LABS_ACCESS_TOKEN }}/neodash:2.2.1
build-docker-legacy:
needs: build-test
runs-on: ubuntu-latest
strategy:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ You can run NeoDash in one of three ways:
3. For on-prem deployments, you can build the application yourself, or pull the latest Docker image from Docker Hub.
```
# Run the application on http://localhost:5005
docker pull nielsdejong/neodash:latest
docker run -it --rm -p 5005:5005 nielsdejong/neodash
docker pull neo4jlabs/neodash:latest
docker run -it --rm -p 5005:5005 neo4jlabs/neodash
```

> Windows users may need to prefix the `docker run` command with `winpty`.
Expand Down
8 changes: 4 additions & 4 deletions docs/modules/ROOT/pages/developer-guide/build-and-run.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ Pull the latest image from Docker Hub to run the application locally:

....
# Run the application on http://localhost:5005
docker pull nielsdejong/neodash:latest
docker run -it --rm -p 5005:5005 nielsdejong/neodash
docker pull neo4jlabs/neodash:latest
docker run -it --rm -p 5005:5005 neo4jlabs/neodash
....

____
Expand All @@ -44,7 +44,7 @@ ____
== Build Docker image

A pre-built Docker image is available
https://hub.docker.com/r/nielsdejong/neodash[on DockerHub]. This image
https://hub.docker.com/r/neo4jlabs/neodash[on DockerHub]. This image
is built using the default configuration (running in editor mode,
without SSO).

Expand Down Expand Up @@ -84,7 +84,7 @@ metadata:
spec:
containers:
- name: neodash
image: nielsdejong/neodash:latest
image: neo4jlabs/neodash:latest
ports:
- containerPort: 5005
....
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ docker run -it --rm -p 5005:5005 \
-e standaloneDatabase="neo4j" \
-e standaloneDashboardName="My Dashboard" \
-e standaloneDashboardDatabase="dashboards" \
nielsdejong/neodash
neo4jlabs/neodash
....

Make sure that all of the environment variables are set to the correct
Expand Down
4 changes: 2 additions & 2 deletions docs/modules/ROOT/pages/quickstart.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ https://neodash.graphapp.io.
App Gallery].
. Using Docker:
```
docker pull nielsdejong/neodash:latest
docker run -it --rm -p 5005:5005 nielsdejong/neodash
docker pull neo4jlabs/neodash:latest
docker run -it --rm -p 5005:5005 neo4jlabs/neodash
```

Or, build it yourself:
Expand Down
4 changes: 1 addition & 3 deletions gallery/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ This app is built with React, Tailwind and the Neo4j Design Language.

## Contribute to the Gallery
Want to add a dashboard to the gallery?
Send us an [e-mail]([mailto:[email protected]), and we will add your dashboard to the next release!

To add a dashboard - we need the following information.
Create an [issue on GitHub](https://github.com/neo4j-labs/neodash/issues) with the following information:
- Your name.
- A URL to your page (GitHub, LinkedIn, Personal Website, ...)
- The name of your dashboard.
Expand Down