-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from haidousm/fix/websocket-disconnect
Fix - Websocket Disconnect because of leftover namespace
- Loading branch information
Showing
7 changed files
with
141 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,53 @@ | ||
name: Build & Deploy Dev. Docker Images | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'main' | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- "main" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-api: | ||
name: Build API's Image | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: docker login | ||
env: | ||
DOCKER_USER: ${{secrets.DOCKER_USER}} | ||
DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}} | ||
run: | | ||
docker login -u $DOCKER_USER -p $DOCKER_PASSWORD | ||
- name: Build the Docker Image | ||
run: | | ||
docker build api --tag haidousm/traefiker-api:SNAPSHOT | ||
- name: Push the Docker Image to DockerHub | ||
run: | | ||
docker push haidousm/traefiker-api:SNAPSHOT | ||
build-client: | ||
name: Build Client's Image | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: docker login | ||
env: | ||
DOCKER_USER: ${{secrets.DOCKER_USER}} | ||
DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}} | ||
run: | | ||
docker login -u $DOCKER_USER -p $DOCKER_PASSWORD | ||
- name: Build the Docker Image | ||
run: | | ||
docker build client --tag haidousm/traefiker-web:SNAPSHOT | ||
- name: Push the Docker Image to DockerHub | ||
run: | | ||
docker push haidousm/traefiker-web:SNAPSHOT | ||
docker: | ||
name: Build Docker Image | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: docker login | ||
env: | ||
DOCKER_USER: ${{secrets.DOCKER_USER}} | ||
DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}} | ||
run: | | ||
docker login -u $DOCKER_USER -p $DOCKER_PASSWORD | ||
- name: Build the Docker Image | ||
run: | | ||
docker build api --tag haidousm/traefiker-api:SNAPSHOT | ||
docker build client --tag haidousm/traefiker-web:SNAPSHOT | ||
- name: Push the Docker Image to DockerHub | ||
run: | | ||
docker push haidousm/traefiker-api:SNAPSHOT | ||
docker push haidousm/traefiker-web:SNAPSHOT | ||
# deploy: | ||
# name: Deploy Dev. Docker Image | ||
# runs-on: ubuntu-latest | ||
# needs: [ docker ] | ||
# steps: | ||
# - name: Call Webhook | ||
# uses: joelwmale/webhook-action@master | ||
# env: | ||
# WEBHOOK_URL: ${{ secrets.DEPLOY_WEBHOOK_URL }} | ||
# deploy: | ||
# name: Deploy Dev. Docker Image | ||
# runs-on: ubuntu-latest | ||
# needs: [ docker ] | ||
# steps: | ||
# - name: Call Webhook | ||
# uses: joelwmale/webhook-action@master | ||
# env: | ||
# WEBHOOK_URL: ${{ secrets.DEPLOY_WEBHOOK_URL }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,55 @@ | ||
name: Build & Deploy Prod. Docker Images | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'releases/**' | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- "releases/**" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-api: | ||
name: Build API's Image | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: docker login | ||
env: | ||
DOCKER_USER: ${{secrets.DOCKER_USER}} | ||
DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}} | ||
run: | | ||
docker login -u $DOCKER_USER -p $DOCKER_PASSWORD | ||
- name: Build the Docker Image | ||
run: | | ||
docker build api --file Dockerfile --tag haidousm/traefiker-api:latest --tag haidousm/traefiker-api:${GITHUB_REF##*/} | ||
- name: Push the Docker Image to DockerHub | ||
run: | | ||
docker push haidousm/traefiker-api:${GITHUB_REF##*/} | ||
docker push haidousm/traefiker-api:latest | ||
build-client: | ||
name: Build Client's Image | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: docker login | ||
env: | ||
DOCKER_USER: ${{secrets.DOCKER_USER}} | ||
DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}} | ||
run: | | ||
docker login -u $DOCKER_USER -p $DOCKER_PASSWORD | ||
- name: Build the Docker Image | ||
run: | | ||
docker build client --file Dockerfile --tag haidousm/traefiker-web:latest --tag haidousm/traefiker-web:${GITHUB_REF##*/} | ||
- name: Push the Docker Image to DockerHub | ||
run: | | ||
docker push haidousm/traefiker-web:${GITHUB_REF##*/} | ||
docker push haidousm/traefiker-web:latest | ||
docker: | ||
name: Build Docker Image | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: docker login | ||
env: | ||
DOCKER_USER: ${{secrets.DOCKER_USER}} | ||
DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}} | ||
run: | | ||
docker login -u $DOCKER_USER -p $DOCKER_PASSWORD | ||
- name: Build the Docker Image | ||
run: | | ||
docker build api --file Dockerfile --tag haidousm/traefiker-api:latest --tag haidousm/traefiker-api:${GITHUB_REF##*/} | ||
docker build client --file Dockerfile --tag haidousm/traefiker-web:latest --tag haidousm/traefiker-web:${GITHUB_REF##*/} | ||
- name: Push the Docker Image to DockerHub | ||
run: | | ||
docker push haidousm/traefiker-api:${GITHUB_REF##*/} | ||
docker push haidousm/traefiker-api:latest | ||
docker push haidousm/traefiker-web:${GITHUB_REF##*/} | ||
docker push haidousm/traefiker-web:latest | ||
# deploy: | ||
# name: Deploy Prod. Docker Image | ||
# runs-on: ubuntu-latest | ||
# needs: [ docker ] | ||
# steps: | ||
# - name: Call Webhook | ||
# uses: joelwmale/webhook-action@master | ||
# env: | ||
# WEBHOOK_URL: ${{ secrets.DEPLOY_WEBHOOK_URL }} | ||
# deploy: | ||
# name: Deploy Prod. Docker Image | ||
# runs-on: ubuntu-latest | ||
# needs: [ docker ] | ||
# steps: | ||
# - name: Call Webhook | ||
# uses: joelwmale/webhook-action@master | ||
# env: | ||
# WEBHOOK_URL: ${{ secrets.DEPLOY_WEBHOOK_URL }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.