Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit 3413ae5
Author: Snyk bot <snyk-bot@snyk.io>
Date:   Thu Sep 30 08:18:19 2021 +0200

    chore(deps): upgrade ws from 7.5.4 to 7.5.5 (moscajs#140)

commit 87f0f50
Author: Snyk bot <snyk-bot@snyk.io>
Date:   Tue Sep 28 08:30:06 2021 +0200

    chore(deps): upgrade pino from 6.13.1 to 6.13.2 (moscajs#139)

commit 6288af9
Author: Snyk bot <snyk-bot@snyk.io>
Date:   Mon Sep 27 09:56:38 2021 +0200

    chore(deps): upgrade ws from 7.5.3 to 7.5.4 (moscajs#138)

commit 12b1b77
Author: Snyk bot <snyk-bot@snyk.io>
Date:   Mon Sep 13 09:41:31 2021 +0200

    chore(deps): upgrade pino from 6.13.0 to 6.13.1 (moscajs#136)

commit eb5b318
Author: Snyk bot <snyk-bot@snyk.io>
Date:   Tue Aug 24 08:14:37 2021 +0200

    chore(deps): upgrade ws from 7.5.1 to 7.5.3 (moscajs#135)

commit cbfa86b
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Aug 23 09:14:47 2021 +0200

    chore(deps): bump path-parse from 1.0.6 to 1.0.7 (moscajs#134)

    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit baf26f4
Author: Snyk bot <snyk-bot@snyk.io>
Date:   Mon Aug 23 09:14:37 2021 +0200

    chore: upgrade pino from 6.12.0 to 6.13.0 (moscajs#133)

commit b06a893
Author: Snyk bot <snyk-bot@snyk.io>
Date:   Mon Aug 23 09:14:21 2021 +0200

    chore: upgrade ws from 7.5.0 to 7.5.1 (moscajs#130)

commit 4f55f1a
Author: Snyk bot <snyk-bot@snyk.io>
Date:   Mon Aug 9 18:44:21 2021 +0300

    chore(deps): upgrade aedes from 0.46.0 to 0.46.1 (moscajs#132)

commit c2ebb92
Author: Snyk bot <snyk-bot@snyk.io>
Date:   Mon Aug 2 10:11:14 2021 +0300

    chore(deps): upgrade pino from 6.11.3 to 6.12.0 (moscajs#131)

commit 9cbe37a
Author: Snyk bot <snyk-bot@snyk.io>
Date:   Thu Jul 8 10:16:40 2021 +0300

    [Snyk] Upgrade ws from 7.4.6 to 7.5.0 (moscajs#129)

commit 0f16dfe
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Jun 14 10:00:50 2021 +0200

    chore(deps): bump glob-parent from 5.1.1 to 5.1.2 (moscajs#128)

    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 52bc4b9
Author: bherbruck <brennen.herbruck@gmail.com>
Date:   Thu May 27 23:24:46 2021 -0700

    fix: change host address (moscajs#126)

commit 1fe2e34
Author: Snyk bot <snyk-bot@snyk.io>
Date:   Thu May 27 09:09:18 2021 +0300

    chore(security): upgrade ws from 7.4.5 to 7.4.6 (moscajs#125)

commit 161272f
Author: Snyk bot <snyk-bot@snyk.io>
Date:   Fri May 14 13:04:11 2021 +0300

    chore: upgrade aedes from 0.45.2 to 0.46.0 (moscajs#124)

commit 54f6ec0
Author: Snyk bot <snyk-bot@snyk.io>
Date:   Fri May 14 13:03:55 2021 +0300

    chore: upgrade aedes-persistence-redis from 8.0.0 to 8.0.1 (moscajs#123)

commit e0b47d7
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Tue May 11 15:54:58 2021 +0200

    chore(deps): bump hosted-git-info from 2.8.8 to 2.8.9 (moscajs#122)

    Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
    - [Release notes](https://github.com/npm/hosted-git-info/releases)
    - [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
    - [Commits](npm/hosted-git-info@v2.8.8...v2.8.9)

    Signed-off-by: dependabot[bot] <support@github.com>

    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit c9c272c
Author: Snyk bot <snyk-bot@snyk.io>
Date:   Tue May 11 16:15:12 2021 +0300

    chore(deps): upgrade aedes from 0.45.1 to 0.45.2 (moscajs#121)

commit 1ea4413
Author: Snyk bot <snyk-bot@snyk.io>
Date:   Mon May 10 10:07:40 2021 +0300

    chore(deps): upgrade pino from 6.11.2 to 6.11.3 (moscajs#119)

commit 951467a
Author: Snyk bot <snyk-bot@snyk.io>
Date:   Mon May 10 10:07:22 2021 +0300

    chore(deps): upgrade aedes from 0.45.0 to 0.45.1 (moscajs#118)

commit e0e48f5
Author: Snyk bot <snyk-bot@snyk.io>
Date:   Mon May 10 10:07:00 2021 +0300

    chore(deps): upgrade ws from 7.4.4 to 7.4.5 (moscajs#120)

commit 3612905
Author: Snyk bot <snyk-bot@snyk.io>
Date:   Fri May 7 09:06:01 2021 +0300

    chore(deps): bump aedes-persistence-mongodb@8.2.0 (moscajs#117)

commit d68a3b6
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Thu Apr 29 09:02:19 2021 +0200

    chore(deps): bump y18n from 4.0.0 to 4.0.1 (moscajs#115)

    Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
    - [Release notes](https://github.com/yargs/y18n/releases)
    - [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
    - [Commits](https://github.com/yargs/y18n/commits)

    Signed-off-by: dependabot[bot] <support@github.com>

    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 5c65cc0
Author: Snyk bot <github+bot@snyk.io>
Date:   Sat Apr 3 13:09:37 2021 +0300

    chore(deps): upgrade pino from 6.11.1 to 6.11.2 (moscajs#116)

commit 64df0eb
Author: Daniel Lando <daniel.sorridi@gmail.com>
Date:   Tue Mar 9 09:16:33 2021 +0100

    chore: fix flaky docker builds (moscajs#113)

commit 231816f
Author: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Date:   Tue Mar 9 09:16:15 2021 +0100

    chore(deps): bump pino-pretty from 4.7.0 to 4.7.1 (moscajs#114)

    Bumps [pino-pretty](https://github.com/pinojs/pino-pretty) from 4.7.0 to 4.7.1.
    - [Release notes](https://github.com/pinojs/pino-pretty/releases)
    - [Commits](pinojs/pino-pretty@v4.7.0...v4.7.1)

    Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

    Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

commit 0342583
Author: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Date:   Mon Mar 8 15:46:30 2021 +0100

    chore(deps): bump mqemitter-redis from 4.0.3 to 4.1.0 (moscajs#107)

    Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

commit bad0341
Author: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Date:   Mon Mar 8 15:39:46 2021 +0100

    chore(deps): bump aedes from 0.44.2 to 0.45.0 (moscajs#110)

    Bumps [aedes](https://github.com/moscajs/aedes) from 0.44.2 to 0.45.0.
    - [Release notes](https://github.com/moscajs/aedes/releases)
    - [Commits](moscajs/aedes@v0.44.2...v0.45.0)

    Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

    Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

commit f42f98a
Author: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Date:   Mon Mar 8 09:41:50 2021 +0100

    chore(deps): bump pino-pretty from 4.6.0 to 4.7.0 (moscajs#111)

    Bumps [pino-pretty](https://github.com/pinojs/pino-pretty) from 4.6.0 to 4.7.0.
    - [Release notes](https://github.com/pinojs/pino-pretty/releases)
    - [Commits](pinojs/pino-pretty@v4.6.0...v4.7.0)

    Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

    Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

commit 5e64f99
Author: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Date:   Mon Mar 8 09:41:28 2021 +0100

    chore(deps): bump ws from 7.4.3 to 7.4.4 (moscajs#112)

    Bumps [ws](https://github.com/websockets/ws) from 7.4.3 to 7.4.4.
    - [Release notes](https://github.com/websockets/ws/releases)
    - [Commits](websockets/ws@7.4.3...7.4.4)

    Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

    Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

commit f4e2851
Author: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Date:   Wed Mar 3 10:01:22 2021 +0100

    chore(deps): bump pino-pretty from 4.5.0 to 4.6.0 (moscajs#109)

    Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
  • Loading branch information
toniiiik committed Oct 19, 2021
1 parent 88fad81 commit 5acc326
Show file tree
Hide file tree
Showing 4 changed files with 384 additions and 780 deletions.
76 changes: 40 additions & 36 deletions .github/workflows/dockerbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,45 +10,49 @@ on:
- created

jobs:
build:
build-push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: crazy-max/ghaction-docker-buildx@v1

- name: Just build on PR without push
if: ${{ github.event_name == 'pull_request' }}
run: |
docker buildx build \
-f docker/Dockerfile \
--platform linux/arm64/v8,linux/amd64,linux/arm/v6,linux/arm/v7 \
-t moscajs/aedes:dev \
.
- uses: docker/setup-buildx-action@v1
- uses: docker/setup-qemu-action@v1
- name: Login to dockerhub
if: ${{ github.event_name != 'pull_request' }}
run: |
docker login --username $DOCKER_USERNAME --password $DOCKER_PASSWORD
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- id: docker_meta
uses: crazy-max/ghaction-docker-meta@v1
with:
images: moscajs/aedes
tag-sha: true
tag-latest: true
tag-semver: |
{{version}}
label-custom: |
org.opencontainers.image.vendor=moscajs
org.opencontainers.image.documentation=https://github.com/moscajs/aedes-cli
org.opencontainers.image.authors=Daniel Lando <daniel.sorridi@gmail.com>
org.opencontainers.image.url=https://github.com/moscajs/aedes-cli
maintainer=robertsLando
- name: Cache Docker layers
uses: actions/cache@v2
with:
path: /tmp/.buildx-cache
key: buildx-${{ github.ref }}-${{ github.sha }}
restore-keys: |
buildx-${{ github.ref }}-${{ github.sha }}
buildx-${{ github.ref }}
buildx-
- name: build+push
uses: docker/build-push-action@v2
with:
platforms: linux/arm64,linux/amd64,linux/arm/v6,linux/arm/v7
file: docker/Dockerfile
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}

- name: Dev
if: ${{ github.ref == 'refs/heads/master'}}
run: |
docker buildx build \
-f docker/Dockerfile \
--platform linux/arm64/v8,linux/amd64,linux/arm/v6,linux/arm/v7 \
-t moscajs/aedes:dev \
--push \
.
- name: Latest & tag
if: ${{ github.event_name == 'release' }}
run: |
docker buildx build \
-f docker/Dockerfile \
--platform linux/arm64/v8,linux/amd64,linux/arm/v6,linux/arm/v7 \
-t moscajs/aedes:$(echo ${GITHUB_REF} | sed "s/refs\/tags\/v//") \
-t moscajs/aedes:latest \
--push \
.
2 changes: 1 addition & 1 deletion docker/dockerConfig.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = {
// SERVERS
protos: ['tcp'],
host: '127.0.0.1',
host: '0.0.0.0',
port: 1883,
wsPort: 3000,
wssPort: 4000,
Expand Down
Loading

0 comments on commit 5acc326

Please sign in to comment.