Bernd Storath
9 months ago
No known key found for this signature in database
GPG Key ID: D6C85685A555540F
6 changed files with
74 additions and
58 deletions
-
.dockerignore
-
.github/workflows/deploy-development.yml
-
.github/workflows/deploy-nightly.yml
-
.github/workflows/deploy-pr.yml
-
.github/workflows/deploy.yml
-
Dockerfile
|
|
@ -1 +1,3 @@ |
|
|
|
/src/node_modules |
|
|
|
/src/.nuxt |
|
|
|
/src/.output |
|
|
|
|
|
@ -32,6 +32,9 @@ jobs: |
|
|
|
- name: Build & Publish Docker Image |
|
|
|
uses: docker/build-push-action@v6 |
|
|
|
with: |
|
|
|
context: . |
|
|
|
push: true |
|
|
|
platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8 |
|
|
|
tags: ghcr.io/wg-easy/wg-easy:development |
|
|
|
cache-from: type=gha |
|
|
|
cache-to: type=gha,mode=max` |
|
|
|
|
|
@ -34,6 +34,9 @@ jobs: |
|
|
|
- name: Build & Publish Docker Image |
|
|
|
uses: docker/build-push-action@v6 |
|
|
|
with: |
|
|
|
context: . |
|
|
|
push: true |
|
|
|
platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8 |
|
|
|
tags: ghcr.io/wg-easy/wg-easy:nightly |
|
|
|
cache-from: type=gha |
|
|
|
cache-to: type=gha,mode=max` |
|
|
|
|
|
@ -33,6 +33,9 @@ jobs: |
|
|
|
- name: Build Docker Image |
|
|
|
uses: docker/build-push-action@v6 |
|
|
|
with: |
|
|
|
context: . |
|
|
|
push: false |
|
|
|
platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8 |
|
|
|
tags: ghcr.io/wg-easy/wg-easy:pr |
|
|
|
cache-from: type=gha |
|
|
|
cache-to: type=gha,mode=max` |
|
|
|
|
|
@ -48,7 +48,10 @@ jobs: |
|
|
|
- name: Build & Publish Docker Image |
|
|
|
uses: docker/build-push-action@v6 |
|
|
|
with: |
|
|
|
context: . |
|
|
|
push: true |
|
|
|
platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8 |
|
|
|
tags: ${{ steps.meta.outputs.tags }} |
|
|
|
labels: ${{ steps.meta.outputs.labels }} |
|
|
|
cache-from: type=gha |
|
|
|
cache-to: type=gha,mode=max` |
|
|
|
|
|
@ -43,5 +43,7 @@ ENV DEBUG=Server,WireGuard,LowDB |
|
|
|
ENV PORT=51821 |
|
|
|
ENV HOST=0.0.0.0 |
|
|
|
|
|
|
|
LABEL org.opencontainers.image.source=https://github.com/wg-easy/wg-easy |
|
|
|
|
|
|
|
# Run Web UI |
|
|
|
CMD ["/usr/bin/dumb-init", "node", "server/index.mjs"] |
|
|
|