Skip to content
Open
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
27 changes: 11 additions & 16 deletions .github/workflows/build_and_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
pull_request:

env:
IMAGE_NAME: netbirdio/dashboard
IMAGE_NAME: ohoimager/cloink-dashboard

jobs:
build_n_push:
Expand All @@ -19,8 +19,8 @@ jobs:
- name: setup-node
uses: actions/setup-node@v3
with:
node-version: '20'
cache: 'npm'
node-version: "20"
cache: "npm"

- name: Install dependencies
run: npm install
Expand All @@ -34,7 +34,7 @@ jobs:
repository: netbirdio/IronRDP
latest: true
fileName: "*.ts"
out-file-path: 'public/ironrdp-pkg'
out-file-path: "public/ironrdp-pkg"

- name: Download IronRDP release JS files
uses: robinraju/release-downloader@v1.7
Expand All @@ -43,7 +43,7 @@ jobs:
repository: netbirdio/IronRDP
latest: true
fileName: "*.js"
out-file-path: 'public/ironrdp-pkg'
out-file-path: "public/ironrdp-pkg"

- name: Download IronRDP release WASM file
uses: robinraju/release-downloader@v1.7
Expand All @@ -52,7 +52,7 @@ jobs:
repository: netbirdio/IronRDP
latest: true
fileName: "ironrdp_web_bg.wasm"
out-file-path: 'public/ironrdp-pkg'
out-file-path: "public/ironrdp-pkg"

- name: Get version from tag
id: version
Expand All @@ -67,26 +67,21 @@ jobs:
run: npm run build
env:
NEXT_PUBLIC_DASHBOARD_VERSION: ${{ steps.version.outputs.version }}
-
name: Set up QEMU
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
-
name: Set up Docker Buildx
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Docker meta
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: ${{ env.IMAGE_NAME }}
-
name: Login to DockerHub
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.NB_DOCKER_USER }}
password: ${{ secrets.NB_DOCKER_TOKEN }}
-
name: Docker build and push
- name: Docker build and push
uses: docker/build-push-action@v3
with:
context: .
Expand Down
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.


# trae
/.trae/
netbird-dashboard-dev.tar

# dependencies
/node_modules
/.pnp
Expand Down Expand Up @@ -47,4 +52,4 @@ cypress.env.json
/public/ironrdp-pkg/
/public/netbird.wasm
.idea
src/.local-config*
src/.local-config*
Binary file modified README.md
Binary file not shown.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.14
FROM alpine:latest

RUN apk add --no-cache bash curl less ca-certificates git tzdata zip gettext \
nginx curl supervisor certbot-nginx && \
Expand Down
Loading